Closed yhyang-myron closed 1 year ago
Hey @believexx,
Thanks for opening the issue. Could you please be more specific about the error. E.g which module throws it, at which line, if you using a pretrained module, what is your system context and anything else that might be helpful to backtrace this problem.
Cheers, David
Thank you very much for your reply! Here is my output log:
Traceback (most recent call last):
File "/home/xhliu/anaconda3/envs/py38/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/xhliu/anaconda3/envs/py38/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/xhliu/LanguageGroundedSemseg/main.py", line 210, in
Hey,
So the tasks fails before even touching parts of my code, and is most probably a Pytorch Lightning multi-gpu DDP error. After a quick Google search I found a same error here. Please refer to the potential sollutions provided at that thread.
Regards, David
P.s. closing the issue now as not related to this project. Feel free to reopen if something still fails locally.
When I use source scripts/text_representation_train.sh to train, there was always a RuntimeError.
RuntimeError: Tensors must be CUDA and dense