MHFormer icon indicating copy to clipboard operation
MHFormer copied to clipboard

IndexError: list index out of range?

Open TomCatOnline opened this issue 3 years ago • 0 comments

When i tried to train a new model, this error occurred:

File "main.py", line 117, in model_path = sorted(glob.glob(os.path.join(opt.previous_dir, '*.pth')))[1] IndexError: list index out of range

I wonder why and how i can fix this,please?

TomCatOnline avatar Sep 03 '22 10:09 TomCatOnline