when I run tango run test/test.jsonnet -i test
I got the error
[03/26/23 20:46:38] ERROR Uncaught exception
Traceback (most recent call last):
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/site-packages/tango/step.py", line 468, in _run_with_work_dir
result = self.run(**kwargs)
File "/gpfs/gibbs/project/ying_rex/wq44/Yale-Brain-Graph/test/main.py", line 19, in run
iter(loader)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 368, in __iter__
return self._get_iterator()
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 314, in _get_iterator
return _MultiProcessingDataLoaderIter(self)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 927, in __init__
w.start()
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
super().__init__(process_obj)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
self._launch(process_obj)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
File "/gpfs/gibbs/project/ying_rex/wq44/conda_envs/neuro/lib/python3.8/site-packages/h5py/_hl/base.py", line 368, in __getnewargs__
raise TypeError("h5py objects cannot be pickled")
TypeError: h5py objects cannot be pickled
π Describe the bug
Here is the minimal example to reproduce βββ test βββ init.py βββ main.py βββ test.jsonnet
In
main.py
In
test.jsonnet
,And
__init__.py
is emptywhen I run
tango run test/test.jsonnet -i test
I got the errorVersions