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

Missing output layers #12

Open
bikekowal opened this issue Nov 19, 2020 · 2 comments
Open

Missing output layers #12

bikekowal opened this issue Nov 19, 2020 · 2 comments

Comments

@bikekowal
Copy link

bikekowal commented Nov 19, 2020

Hi,

I am trying to run the code with various models taken originally from pjreddie. Currently I have stucked on the following issue:

_Error using assembleNetwork (line 47)
Invalid network.

Error in importDarknetNetwork (line 164)
net = assembleNetwork(lgraph);

Caused by:
Network: Missing output layer. The network must have at least one output layer.
Layer 'yolo_v3_id1': Unconnected output. Each layer output must be connected to the input of another layer.
Layer 'yolo_v3_id2': Unconnected output. Each layer output must be connected to the input of another layer.
Layer 'yolo_v3_id3': Unconnected output. Each layer output must be connected to the input of another layer._

The same issue applies to both yolo4 and yolo3 configs from pjreddie.
How to solve this issue?

@basim-azam
Copy link

Hi,

I am trying to run the code with various models taken originally from pjreddie. Currently I have stucked on the following issue:

_Error using assembleNetwork (line 47)
Invalid network.

Error in importDarknetNetwork (line 164)
net = assembleNetwork(lgraph);

Caused by:
Network: Missing output layer. The network must have at least one output layer.
Layer 'yolo_v3_id1': Unconnected output. Each layer output must be connected to the input of another layer.
Layer 'yolo_v3_id2': Unconnected output. Each layer output must be connected to the input of another layer.
Layer 'yolo_v3_id3': Unconnected output. Each layer output must be connected to the input of another layer._

The same issue applies to both yolo4 and yolo3 configs from pjreddie.
How to solve this issue?

Have you found the solution to problem?

@havefunheehee
Copy link

你好
我正在尝试使用最初取自 pjreddie 的各种模型运行代码。目前,我遇到了以下问题:
_Error 使用 汇编网络(第 47 行)无效的网络。
导入中的错误暗网网络(第 164 行)net = 组装网络(lgraph);
原因:网络:缺少输出层。网络必须至少有一个输出图层。层“yolo_v3_id1”:未连接的输出。每个图层输出必须连接到另一个图层的输入。层“yolo_v3_id2”:未连接的输出。每个图层输出必须连接到另一个图层的输入。层“yolo_v3_id3”:未连接的输出。每个层输出必须连接到另一个layer._的输入
同样的问题适用于 pjreddie 的 yolo4 和 yolo3 配置。如何解决这个问题?

你找到问题的解决方案了吗?

同问

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

3 participants