You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File ".conda/envs/ContraNovo/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File ".conda/envs/ContraNovo/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/ContraNovo/ContraNovo/ContraNovo.py", line 211, in
main()
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File .conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "ContraNovo/ContraNovo/ContraNovo.py", line 205, in main
model_runner.evaluate(peak_path, model, config)
File "ContraNovo/ContraNovo/denovo/model_runner.py", line 58, in evaluate
_execute_existing(peak_path, model_filename, config, True)
File "ContraNovo/ContraNovo/denovo/model_runner.py", line 169, in _execute_existing
run_trainer(model,test_dataloader)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 697, in validate
return call._call_and_handle_interrupt(
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/trainer/call.py", line 36, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 113, in launch
mp.start_processes(
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 193, in start_processes
process.start()
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'Environment' object
I am getting this error when I run the 'python -m ContraNovo.ContraNovo --mode=eval --peak_path=./ContraNovo/bacillus.10k.mgf --model=./ContraNovo/ContraNovo.ckpt'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File ".conda/envs/ContraNovo/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File ".conda/envs/ContraNovo/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/ContraNovo/ContraNovo/ContraNovo.py", line 211, in
main()
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File .conda/envs/ContraNovo/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "ContraNovo/ContraNovo/ContraNovo.py", line 205, in main
model_runner.evaluate(peak_path, model, config)
File "ContraNovo/ContraNovo/denovo/model_runner.py", line 58, in evaluate
_execute_existing(peak_path, model_filename, config, True)
File "ContraNovo/ContraNovo/denovo/model_runner.py", line 169, in _execute_existing
run_trainer(model,test_dataloader)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 697, in validate
return call._call_and_handle_interrupt(
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/trainer/call.py", line 36, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/pytorch_lightning/strategies/launchers/multiprocessing.py", line 113, in launch
mp.start_processes(
File ".conda/envs/ContraNovo/lib/python3.9/site-packages/torch/multiprocessing/spawn.py", line 193, in start_processes
process.start()
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/process.py", line 121, in start
self._popen = self._Popen(self)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
return Popen(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in init
super().init(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_fork.py", line 19, in init
self._launch(process_obj)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
reduction.dump(process_obj, fp)
File ".conda/envs/ContraNovo/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'Environment' object
I am getting this error when I run the 'python -m ContraNovo.ContraNovo --mode=eval --peak_path=./ContraNovo/bacillus.10k.mgf --model=./ContraNovo/ContraNovo.ckpt'
The text was updated successfully, but these errors were encountered: