Revert "Deprecate GroupedRandomSampler for use of memmap in place of cache"
This reverts commit bbf77c9f91
.
This commit is contained in:
parent
5bc099251f
commit
56f8fa932b
@ -1 +1,2 @@
|
|||||||
from .fields import FieldDataset
|
from .fields import FieldDataset
|
||||||
|
from .sampler import GroupedRandomSampler
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
"""
|
|
||||||
Deprecated for use of memmap in place of cache
|
|
||||||
"""
|
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
import torch
|
import torch
|
||||||
from torch.utils.data import Sampler
|
from torch.utils.data import Sampler
|
||||||
|
@ -14,7 +14,7 @@ from torch.utils.data.distributed import DistributedSampler
|
|||||||
from torch.utils.data import DataLoader
|
from torch.utils.data import DataLoader
|
||||||
from torch.utils.tensorboard import SummaryWriter
|
from torch.utils.tensorboard import SummaryWriter
|
||||||
|
|
||||||
from .data import FieldDataset
|
from .data import FieldDataset, GroupedRandomSampler
|
||||||
from .data.figures import plt_slices
|
from .data.figures import plt_slices
|
||||||
from . import models
|
from . import models
|
||||||
from .models import narrow_cast, resample, Lag2Eul
|
from .models import narrow_cast, resample, Lag2Eul
|
||||||
|
Loading…
Reference in New Issue
Block a user