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

convalution havn't activate linear #58

Open
hufangjian opened this issue May 25, 2020 · 10 comments
Open

convalution havn't activate linear #58

hufangjian opened this issue May 25, 2020 · 10 comments

Comments

@hufangjian
Copy link

你好用了你百度网盘上的yolov4.pth ,运行demo.py 报“convalution havn't activate linear“,并且无输出。

@Tianxiaomo
Copy link
Owner

“convalution havn't activate linear“不影响正常运行

@yilawu
Copy link

yilawu commented Jul 11, 2020

“convalution havn't activate linear“不影响正常运行
我和上面的兄弟问题一样,运行demo.py报convalution havn't activate linear
而且输出没有进行预测,就是bboxes是空的

@tsminh
Copy link

tsminh commented Jul 11, 2020

"Convalution havn't activate linear" does not affect the normal operation.
I have the same problem as the brothers above. Running demo.py reports the contribution havn't activate linear
and the output is not predicted, that is, the bboxes are empty.

Also me, i run the demo.py, and bbs are all empty

@yilawu
Copy link

yilawu commented Jul 12, 2020

"Convalution havn't activate linear" does not affect the normal operation.
I have the same problem as the brothers above. Running demo.py reports the contribution havn't activate linear
and the output is not predicted, that is, the bboxes are empty.

Also me, i run the demo.py, and bbs are all empty

I find the reason.
when you run the demo.py, you should use Darknet weights and
when you run the modules.py, you should use pytorch weights.
Don't be confused.

@3wh1te
Copy link

3wh1te commented Jul 14, 2020

“convalution havn't activate linear“不影响正常运行,这是正常的输出吧,pytorch的提醒?

@dlrookies
Copy link

"Convalution havn't activate linear" does not affect the normal operation.
I have the same problem as the brothers above. Running demo.py reports the contribution havn't activate linear
and the output is not predicted, that is, the bboxes are empty.

Also me, i run the demo.py, and bbs are all empty

I find the reason.
when you run the demo.py, you should use Darknet weights and
when you run the modules.py, you should use pytorch weights.
Don't be confused.

can not find the modules.py

@xiecookie
Copy link

"Convalution havn't activate linear" does not affect the normal operation.
I have the same problem as the brothers above. Running demo.py reports the contribution havn't activate linear
and the output is not predicted, that is, the bboxes are empty.

Also me, i run the demo.py, and bbs are all empty

I find the reason.
when you run the demo.py, you should use Darknet weights and
when you run the modules.py, you should use pytorch weights.
Don't be confused.

请问现在你有输出了吗,也就是bbox是不是为空呢

@glee1228
Copy link

"Convalution havn't activate linear" does not affect the normal operation.
I have the same problem as the brothers above. Running demo.py reports the contribution havn't activate linear
and the output is not predicted, that is, the bboxes are empty.

Also me, i run the demo.py, and bbs are all empty

I find the reason.
when you run the demo.py, you should use Darknet weights and
when you run the modules.py, you should use pytorch weights.
Don't be confused.

can not find the modules.py

You can currently run models.py. Load the .pth file. This will not detect empty bboxes.

@cuihangmver
Copy link

我在python3.7,pytorch1.4,opencv4.5的环境中也遇到同样问题,并且我测试只有使用yolov4-tiny.cfg可以得到这个结果,其他两个文件yolov4.cfg,yolov4-custom.cfg得到错误:RuntimeError: shape '[256, 128, 3, 3]' is invalid for input of size 28044

@zdaiot
Copy link

zdaiot commented Dec 21, 2021

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

10 participants