Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
538 Views

mvNCCompile Error! TypeError: object of type 'NoneType' has no len()

I have a trained caffe model, when I use the command :

 

mvNCCompile deploy.prototxt -w mobilenet_iter_300000.caffemodel -s 12 -on Mconv7_stage4 -o mob_cpm.graph

 

I got the message:

 

Traceback (most recent call last):

 

File "/usr/local/bin/mvNCCompile", line 169, in

 

create_graph(args.network, args.image, args.inputnode, args.outputnode, args.outfile, args.nshaves, args.inputsize, args.weights, args.explicit_concat, args.ma2480, args.scheduler, args.new_parser, args)

 

File "/usr/local/bin/mvNCCompile", line 148, in create_graph

 

load_ret = load_network(args, parser, myriad_config)

 

File "/usr/local/bin/ncsdk/Controllers/Scheduler.py", line 103, in load_network

 

parse_ret = parse_caffe(arguments, myriad_conf)

 

File "/usr/local/bin/ncsdk/Controllers/CaffeParser.py", line 1162, in parse_caffe

 

for i in range(len(top)):

 

TypeError: object of type 'NoneType' has no len()

 

I don't know what the matter it is

 

plz help me , appreciate!
0 Kudos
1 Reply
idata
Community Manager
160 Views

hi you can use mvNCCheck for first to make sure it can work normally

Reply