Mentions légales du service

Skip to content
Snippets Groups Projects
Verified Commit 391c2e48 authored by ANDREY Paul's avatar ANDREY Paul
Browse files

Fix 'messaging' imports under 'training' module.

parent c4f4c29f
No related branches found
No related tags found
1 merge request!70Finalize version 2.6.0
......@@ -23,8 +23,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union
import numpy as np
import tqdm
from declearn import messaging
from declearn.aggregator import Aggregator
from declearn.communication import messaging
from declearn.dataset import Dataset
from declearn.metrics import (
MeanMetric,
......
......@@ -23,8 +23,8 @@ from typing import List, Optional, Tuple, Union
from opacus.accountants import IAccountant, create_accountant # type: ignore
from opacus.accountants.utils import get_noise_multiplier # type: ignore
from declearn import messaging
from declearn.aggregator import Aggregator
from declearn.communication import messaging
from declearn.dataset import Dataset
from declearn.metrics import MetricInputType, MetricSet
from declearn.model.api import Model
......
......@@ -22,8 +22,8 @@ from typing import Any, Iterator, Optional
import numpy
from declearn import messaging
from declearn.aggregator import Aggregator
from declearn.communication import messaging
from declearn.dataset import Dataset
from declearn.metrics import Metric, MetricSet
from declearn.model.api import Model, Vector
......
......@@ -28,7 +28,7 @@ try:
except ModuleNotFoundError:
pytest.skip("Opacus is unavailable", allow_module_level=True)
from declearn.communication import messaging
from declearn import messaging
from declearn.dataset import DataSpecs
from declearn.optimizer.modules import GaussianNoiseModule
from declearn.training.dp import DPTrainingManager
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment