Traceback (most recent call last):
File "/home/zhangkai/zhangnan/semi-supervised/unbiased-teacher-main/train_net.py", line 80, in
args=(args,),
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/detectron2/engine/launch.py", line 62, in launch
main_func(*args)
File "/home/zhangkai/zhangnan/semi-supervised/unbiased-teacher-main/train_net.py", line 63, in main
trainer.resume_or_load(resume=args.resume)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 353, in resume_or_load
checkpoint = self.checkpointer.resume_or_load(self.cfg.MODEL.WEIGHTS, resume=resume)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/fvcore/common/checkpoint.py", line 215, in resume_or_load
return self.load(path, checkpointables=[])
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/fvcore/common/checkpoint.py", line 140, in load
path = self.path_manager.get_local_path(path)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/iopath/common/file_io.py", line 1100, in get_local_path
path, force=force, **kwargs
TypeError: _get_local_path() got an unexpected keyword argument 'force'
Traceback (most recent call last): File "/home/zhangkai/zhangnan/semi-supervised/unbiased-teacher-main/train_net.py", line 80, in
args=(args,),
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/detectron2/engine/launch.py", line 62, in launch
main_func(*args)
File "/home/zhangkai/zhangnan/semi-supervised/unbiased-teacher-main/train_net.py", line 63, in main
trainer.resume_or_load(resume=args.resume)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 353, in resume_or_load
checkpoint = self.checkpointer.resume_or_load(self.cfg.MODEL.WEIGHTS, resume=resume)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/fvcore/common/checkpoint.py", line 215, in resume_or_load
return self.load(path, checkpointables=[])
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/fvcore/common/checkpoint.py", line 140, in load
path = self.path_manager.get_local_path(path)
File "/home/zhangkai/anaconda3/envs/detectron2/lib/python3.6/site-packages/iopath/common/file_io.py", line 1100, in get_local_path
path, force=force, **kwargs
TypeError: _get_local_path() got an unexpected keyword argument 'force'
Process finished with exit code 1
PyTorch built with:
I create the environment and run the code by readme but get this error. What is the problem?