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
I have modified train.py as #11 said, but I find that there is no code model = DataParallelModel(model, device_ids=engine.devices)
and error occoured: Traceback (most recent call last): File "train.py", line 33, in <module> with Engine(custom_parser=parser) as engine: File "/home/rose/projects/TorchSeg/furnace/engine/engine.py", line 69, in __init__ self.devices = parse_devices(self.args.devices) File "/home/rose/projects/TorchSeg/furnace/utils/pyt_utils.py", line 99, in parse_devices device = int(d) ValueError: invalid literal for int() with base 10: ''
Then I used the unrevised 'train.py' and changed NGPUS=1. It made the same error. Could someone can tell me why?
The text was updated successfully, but these errors were encountered:
I have modified train.py as #11 said, but I find that there is no code
model = DataParallelModel(model, device_ids=engine.devices)
and error occoured:
Traceback (most recent call last): File "train.py", line 33, in <module> with Engine(custom_parser=parser) as engine: File "/home/rose/projects/TorchSeg/furnace/engine/engine.py", line 69, in __init__ self.devices = parse_devices(self.args.devices) File "/home/rose/projects/TorchSeg/furnace/utils/pyt_utils.py", line 99, in parse_devices device = int(d) ValueError: invalid literal for int() with base 10: ''
Then I used the unrevised 'train.py' and changed NGPUS=1. It made the same error. Could someone can tell me why?
The text was updated successfully, but these errors were encountered: