We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d684489 commit ad953feCopy full SHA for ad953fe
1 file changed
seqchromloader/loader.py
@@ -57,7 +57,6 @@ def initialize(self):
57
pass
58
59
def __iter__(self):
60
- worker_info = torch.utils.data.get_worker_info()
61
pipeline = [
62
wds.SimpleShardList(self.wds),
63
split_by_node(self.rank, self.world_size),
@@ -69,10 +68,6 @@ def __iter__(self):
69
68
target="target.npy",
70
label="label.npy")
71
]
72
- if worker_info is None:
73
- logging.info("Worker info not found, won't split dataset across subprocesses, are you using custom dataloader?")
74
- logging.info("Ignore the message if you are not using multiprocessing on data loading")
75
- del pipeline[2]
76
77
# transform
78
if self.transforms is not None:
0 commit comments