File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11from diffgram .file .file import File
22from ..regular .regular import refresh_from_dict
33import logging
4- from diffgram .pytorch_diffgram .diffgram_pytorch_dataset import DiffgramPytorchDataset
54from diffgram .tensorflow_diffgram .diffgram_tensorflow_dataset import DiffgramTensorflowDataset
65from diffgram .core .diffgram_dataset_iterator import DiffgramDatasetIterator
76from multiprocessing .pool import ThreadPool as Pool
@@ -155,6 +154,7 @@ def to_pytorch(self, transform = None):
155154 Transforms the file list inside the dataset into a pytorch dataset.
156155 :return:
157156 """
157+ from diffgram .pytorch_diffgram .diffgram_pytorch_dataset import DiffgramPytorchDataset
158158 file_id_list = self .file_id_list
159159 pytorch_dataset = DiffgramPytorchDataset (
160160 project = self .client ,
Original file line number Diff line number Diff line change 11from diffgram .core .directory import Directory
2- from diffgram .pytorch_diffgram .diffgram_pytorch_dataset import DiffgramPytorchDataset
32from diffgram .tensorflow_diffgram .diffgram_tensorflow_dataset import DiffgramTensorflowDataset
43import urllib
54
@@ -37,7 +36,7 @@ def to_pytorch(self, transform = None):
3736 Transforms the file list inside the dataset into a pytorch dataset.
3837 :return:
3938 """
40-
39+ from diffgram . pytorch_diffgram . diffgram_pytorch_dataset import DiffgramPytorchDataset
4140 pytorch_dataset = DiffgramPytorchDataset (
4241 project = self .client ,
4342 diffgram_file_id_list = self .file_id_list ,
You can’t perform that action at this time.
0 commit comments