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 met a unexpected error ,shown as :
2022-08-31 17:30:53 | ERROR | cvpods.engine.launch:64 - An error has been caught in function 'launch', process 'MainProcess' (1731), thread 'MainThread' (140323764021056):
Traceback (most recent call last):
File "/root/cvpods/tools/train_net.py", line 157, in
launch(
└ <function launch at 0x7f9d54537040>
File "/root/cvpods/cvpods/engine/launch.py", line 64, in launch
main_func(*args)
│ └ (Namespace(clearml=False, dir='atss/atss.res50.fpn.coco.800size.1x/', dist_url='tcp://127.0.0.1:49152', eval_only=False, mach...
└ <function main at 0x7f9d54553b80>
File "/root/cvpods/tools/train_net.py", line 89, in main
runner.resume_or_load(resume=args.resume)
│ │ │ └ False
│ │ └ Namespace(clearml=False, dir='atss/atss.res50.fpn.coco.800size.1x/', dist_url='tcp://127.0.0.1:49152', eval_only=False, machi...
│ └ <function DefaultRunner.resume_or_load at 0x7f9d545531f0>
└ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
File "/root/cvpods/cvpods/engine/runner.py", line 172, in resume_or_load
self.start_iter = (self.checkpointer.resume_or_load(
│ │ │ │ └ <function Checkpointer.resume_or_load at 0x7f9e113c78b0>
│ │ │ └ <cvpods.checkpoint.checkpoint.DefaultCheckpointer object at 0x7f9cc6676730>
│ │ └ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
│ └ 0
└ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
File "/root/cvpods/cvpods/checkpoint/checkpoint.py", line 177, in resume_or_load
return self.load(path)
│ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ └ <function Checkpointer.load at 0x7f9e113c7670>
└ <cvpods.checkpoint.checkpoint.DefaultCheckpointer object at 0x7f9cc6676730>
File "/root/cvpods/cvpods/checkpoint/checkpoint.py", line 112, in load
assert megfile.smart_isfile(path), "Checkpoint {} not found!".format(path)
│ │ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ └ <function smart_isfile at 0x7f9e114143a0>
└ <module 'megfile' from '/usr/local/lib/python3.8/dist-packages/megfile/init.py'>
File "/usr/local/lib/python3.8/dist-packages/megfile/smart.py", line 101, in smart_isfile
return SmartPath(path).is_file(followlinks=followlinks)
│ │ └ False
│ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
└ <class 'megfile.smart_path.SmartPath'>
I met a unexpected error ,shown as :
2022-08-31 17:30:53 | ERROR | cvpods.engine.launch:64 - An error has been caught in function 'launch', process 'MainProcess' (1731), thread 'MainThread' (140323764021056):
Traceback (most recent call last):
File "/root/cvpods/tools/train_net.py", line 157, in
launch(
└ <function launch at 0x7f9d54537040>
File "/root/cvpods/tools/train_net.py", line 89, in main
runner.resume_or_load(resume=args.resume)
│ │ │ └ False
│ │ └ Namespace(clearml=False, dir='atss/atss.res50.fpn.coco.800size.1x/', dist_url='tcp://127.0.0.1:49152', eval_only=False, machi...
│ └ <function DefaultRunner.resume_or_load at 0x7f9d545531f0>
└ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
File "/root/cvpods/cvpods/engine/runner.py", line 172, in resume_or_load
self.start_iter = (self.checkpointer.resume_or_load(
│ │ │ │ └ <function Checkpointer.resume_or_load at 0x7f9e113c78b0>
│ │ │ └ <cvpods.checkpoint.checkpoint.DefaultCheckpointer object at 0x7f9cc6676730>
│ │ └ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
│ └ 0
└ <cvpods.engine.runner.DefaultRunner object at 0x7f9d545a77c0>
File "/root/cvpods/cvpods/checkpoint/checkpoint.py", line 177, in resume_or_load
return self.load(path)
│ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ └ <function Checkpointer.load at 0x7f9e113c7670>
└ <cvpods.checkpoint.checkpoint.DefaultCheckpointer object at 0x7f9cc6676730>
File "/root/cvpods/cvpods/checkpoint/checkpoint.py", line 112, in load
assert megfile.smart_isfile(path), "Checkpoint {} not found!".format(path)
│ │ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ │ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
│ └ <function smart_isfile at 0x7f9e114143a0>
└ <module 'megfile' from '/usr/local/lib/python3.8/dist-packages/megfile/init.py'>
File "/usr/local/lib/python3.8/dist-packages/megfile/smart.py", line 101, in smart_isfile
return SmartPath(path).is_file(followlinks=followlinks)
│ │ └ False
│ └ 'detectron2://ImageNetPretrained/MSRA/R-50.pkl'
└ <class 'megfile.smart_path.SmartPath'>
File "/usr/local/lib/python3.8/dist-packages/megfile/smart_path.py", line 14, in smart_method
return getattr(self.pathlike, name)(*args, **kwargs)
│ │ │ │ └ {'followlinks': False}
│ │ │ └ ()
│ │ └ 'is_file'
│ └ Detectron2Path('ImageNetPretrained/MSRA/R-50.pkl')
└ SmartPath('detectron2://ImageNetPretrained/MSRA/R-50.pkl')
TypeError: is_file() got an unexpected keyword argument 'followlinks'
The text was updated successfully, but these errors were encountered: