Quantize network stops at "Network initialization done." step

Discussion related to "under the hood" OpenMV topics.
User avatar
chrisPyres66
Posts: 70
Joined: Mon Jul 16, 2018 9:22 am
Location: France

Quantize network stops at "Network initialization done." step

Postby chrisPyres66 » Thu Jan 24, 2019 3:03 am

Hello,

I trained and i try to quantize the network but it stops at "Network initialization done." step.

The commands is :
python2 nn_quantizer.py --gpu --model models/lettre_O_V1/lettre_O_train_test.prototxt --weights models/lettre_O_V1/lettre_O_iter_1300.caffemodel --save models/lettre_O_V1/lettre_O.pkl

I join the log.txt of the command and lettre_O_train_test.prototxt network achitecture.
lettre_O_iter_1300.caffemodel trained network is too big (40.2Mo).

Help would be great,
Thanks
Attachments
files.zip
(3.19 KiB) Downloaded 8 times
User avatar
kwagyeman
Posts: 2713
Joined: Sun May 24, 2015 2:10 pm

Re: Quantize network stops at "Network initialization done." step

Postby kwagyeman » Thu Jan 24, 2019 11:52 am

Hi, that script isn't robust if the network is bad when you trained it. The error is happening before the conversion. What accuracy did you get on training the net and testing it? If they were bogus you cannot convert the network.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests