jveitchmichaelis / deeplabel

A cross-platform desktop image annotation tool for machine learning
207 stars 40 forks source link

Loading tensorflow models crashes program #36

Open vladaman opened 2 years ago

vladaman commented 2 years ago

I tried to load tensorflow model and the program crashed. I used Yolov5 and then converted model into pb format

Checking config file
Checking config file
Added detection class: 0 label-one
Added detection class: 1 label-two
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 0)
fish: “release/deeplabel” terminated by signal SIGABRT (Abort)

image

jveitchmichaelis commented 2 years ago

Not sure there, can you open this model using OpenCV normally? Eg is it all models or just this one?

You might be able to debug where exactly the load is crashing though, would be good to know if it's deeplabel or some issue with the network loader.

On Fri, 8 Apr 2022 at 13:07, Vladimir Vlach @.***> wrote:

I tried to load tensorflow model and the program crashed. I used Yolov5 and then converted model into pb format

Checking config file

Checking config file

Added detection class: 0 label-one

Added detection class: 1 label-two

terminate called after throwing an instance of 'std::out_of_range'

what(): vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 0)

fish: “release/deeplabel” terminated by signal SIGABRT (Abort)

[image: image] https://user-images.githubusercontent.com/907206/162423970-aa52ca9e-5bb6-46d8-9bb2-d4d00bee574a.png

— Reply to this email directly, view it on GitHub https://github.com/jveitchmichaelis/deeplabel/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYDMJ3ADSLZSHNN7PJXK2LVEAHPXANCNFSM5S4GYYUA . You are receiving this because you are subscribed to this thread.Message ID: @.***>