Skip to content

Error when deploying nanodet #15

@CheungBH

Description

@CheungBH

Hello. I trained a nanodet model from
https://github.com/RangiLyu/nanodet,
and an error occurred to me when processing
auto status = NanoDet::instance->GetCommandQueue(&command_queue);
:

2021-10-03 22:27:42.800142+0800 TNNDemo[7059:1059735] new NanoDet
E/tnn: virtual tnn::Status tnn::DefaultNetwork::InitLayers(tnn::NetStructure *, tnn::NetResource *) [File /Users/TURUI/Desktop/TNN/source/tnn/core/default_network.cc][Line 236] Error Init layer Conv_0 (err: 4096 or 0x1000)
2021-10-03 22:27:42.839470+0800 TNNDemo[7059:1059735] GPU initialization failed, switch to CPU
E/tnn: virtual tnn::Status tnn::DefaultNetwork::InitLayers(tnn::NetStructure *, tnn::NetResource *) [File /Users/TURUI/Desktop/TNN/source/tnn/core/default_network.cc][Line 236] Error Init layer Conv_0 (err: 4096 or 0x1000)
2021-10-03 22:27:42.845144+0800 TNNDemo[7059:1059735] TNN init failed 4096
(lldb)

It seems that the error is caused by initialization. Do you have any ideas to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions