VFA
VFA copied to clipboard
Error occurs when I use command to fine-tune voc data
Hello, an error occurs when I use the command to fine-tune voc data, why is this happening?


Do you place the base-training checkpoint here? https://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_10shot-fine-tuning.py#L27
You can re-download it and try again.
你把基地训练检查站放在这里吗?
https://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_10shot-fine-tuning.py#L27
您可以重新下载它,然后重试。 我是下载的你的模型权重,并重新下载了,但是还是出现这种情况
![]()
检查一下pytorch是否能加载model:
model = torch.load('work_dirs/vfa_r101_c4_8xb4_voc-split1_base-training/iter_18000.pth',map_location='cpu')
检查一下pytorch是否能加载model:
model = torch.load('work_dirs/vfa_r101_c4_8xb4_voc-split1_base-training/iter_18000.pth',map_location='cpu')
你好,打扰了,我运行以下脚本,出现这个错误,是否是没加载模型?

可能是模型权重参数在下载时有问题或者您这边提供的模型权重参数有问题,我已经重新下载了还是出现错误,但是我用我自己训练好的模型去微调,不会出现这个错误。

You can try with newer Pytorch. I tested the pretrained checkpoint on Pytorch 1.12 and it still works.
您可以尝试使用较新的 Pytorch。我在 Pytorch 1.12 上测试了预训练的检查点,它仍然有效。 你好,我已经可以用你的权重微调了,他可能是由于文件命名的问题,将vfa_r101_c4_8xb4_voc-split1_base-training_iter_18000.pth修改为iter_18000.pth就可以工作
