Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Error(s) in loading state_dict for Darknet: #8

Closed
Gironote opened this issue Jul 24, 2020 · 3 comments
Closed

RuntimeError: Error(s) in loading state_dict for Darknet: #8

Gironote opened this issue Jul 24, 2020 · 3 comments

Comments

@Gironote
Copy link

I succeeded in step 2.4.1.
image

I'm currently working on step 2.4.2.
2.4.2. Inference
python test.py --gpu_idx 0 --pretrained_path ...

In this step I think pretrained_path means complex_yolov3.pth so I made file and put complex_yolov3.pth
image

And run python test.py --gpu_idx 0 --pretrained_path /home/kaai/Complex-YOLOv4-Pytorch/ab/complex_yolov3.pth

image
image

Is there anything wrong with my progress?

@maudzung
Copy link
Owner

Hi @Jihun-Kim-kmu
Let's try:
python test.py --gpu_idx 0 --pretrained_path /home/kaai/Complex-YOLOv4-Pytorch/ab/complex_yolov3.pth --cfgfile ./config/cfg/complex_yolov3.cfg

@Gironote
Copy link
Author

Thank you for your prompt reply. you're right
It's going on normally now. thank you
image

@maudzung
Copy link
Owner

You are welcome.
I'm trying to improve the performance of the Complex-YOLOv4 model. I'll release the pre-trained model when it works well.
Let's develop it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants