IndexError: list index out of range请问这是什么情况?
StormArcher opened this issue · 1 comments
StormArcher commented
python test.py之后遇到报错如下
Testing on SOD
Traceback (most recent call last):
File "test.py", line 105, in
t = Test(dataset, e, GCPANet)
File "test.py", line 47, in init
self.cfg = Dataset.Config(datapath=datapath, snapshot=sys.argv[1], mode='test')
IndexError: list index out of range
JosephChenHub commented
please run this command ``python3 test.py model-xxx.pt '', since snapshot must be provided in the inference stage.