ModuleNotFoundError: Caught ModuleNotFoundError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/zys/units/units/dataset.py", line 44, in getitem
img, sample = self.datasource[index]
File "/home/zys/units/units/dataset.py", line 174, in getitem
return dataset[diff % len(dataset)]
File "/home/zys/units/units/datasource.py", line 43, in getitem
annot = self.annots[index]
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 109, in getitem
return self.get(str(index).encode("utf-8"))
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 92, in get
return read_fn(value)
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 9, in pickle_reader
return pickle.loads(byte_str)
ModuleNotFoundError: No module named 'numpy._core'
ModuleNotFoundError: Caught ModuleNotFoundError in DataLoader worker process 0. Original Traceback (most recent call last): File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop data = fetcher.fetch(index) File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/zys/units/units/dataset.py", line 44, in getitem
img, sample = self.datasource[index]
File "/home/zys/units/units/dataset.py", line 174, in getitem
return dataset[diff % len(dataset)]
File "/home/zys/units/units/datasource.py", line 43, in getitem
annot = self.annots[index]
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 109, in getitem
return self.get(str(index).encode("utf-8"))
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 92, in get
return read_fn(value)
File "/home/zys/miniconda3/envs/units/lib/python3.9/site-packages/tensorfn/data/lmdb_reader.py", line 9, in pickle_reader
return pickle.loads(byte_str)
ModuleNotFoundError: No module named 'numpy._core'
训练会出现numpy._core模块问题,请问是哪些包版本冲突了吗?