lufficc / SSD

High quality, fast, modular reference implementation of SSD in PyTorch
MIT License
1.52k stars 384 forks source link

How to load the model #154

Closed ijalalfrz closed 4 years ago

ijalalfrz commented 4 years ago

Hi @lufficc , i am trying to use 512 vgg model you provided, but after enter this command: python test.py --config-file configs/vgg_ssd512_voc0712.yaml --ckpt outputs/vgg_ssd512_voc0712.pth , it just download from amazon

lufficc commented 4 years ago

Maybe you should --ckpt https://github.com/lufficc/SSD/releases/download/1.2/vgg_ssd512_voc0712.pth

ijalalfrz commented 4 years ago

@lufficc , i have download it and put to my outputs folder, is there any option to load from offline mode, i traced the code and find out that the program is downloading first from amdgroot vgg reducedfc model i dont know why we have to download it first but after that it's loaded the downloaded pth file

lufficc commented 4 years ago

Use --ckpt /path/to/file.pth for local file. The auto-downloading when loading a local file maybe an unsolved issue.

zzu0654 commented 4 years ago

I also want to load local model,what i should do?Can you help me?

lufficc commented 4 years ago

I also want to load local model,what i should do?Can you help me?

--ckpt /path/to/local/file.pth