Part Number: TDA4VMXEVM
Dear TI,
Now I have downlaod a public model (alexnet) from github, you know it's a simple & small model.but import error,
there is a un-support layer LRN,but some other error I just don't understand, the log is as below:
Caffe Network File : ../../test/testvecs/models/public/caffe/alexnet/bvlc_alexnet_deploy.prototxt
Caffe Model File : ../../test/testvecs/models/public/caffe/alexnet/bvlc_alexnet_no_group.caffemodel
TIDL Network File : ../../test/testvecs/config/tidl_models/caffe/tidl_net_bvlc_alexnet_no_group.caffemodel.bin
TIDL IO Info File : ../../test/testvecs/config/tidl_models/caffe/tidl_io_bvlc_alexnet_no_group.caffemodel_
Name of the Network : AlexNet
WARNING: detect batch process from input size, overwrite to single frame inference!
ERROR: LRN layer norm2 is not suported now.. By passing
WARNING: !!!!!!! Not supported layer LRN:norm2 is found! Import result is unpredictable!
ERROR: LRN layer norm1 is not suported now.. By passing
WARNING: !!!!!!! Not supported layer LRN:norm1 is found! Import result is unpredictable!
WARNING: Conv Layer conv2's coeff cannot be found(or not match) in coef file, Random coeff will be generated! Only for evaluation usage! Results are all random!
WARNING: Conv Layer conv4's coeff cannot be found(or not match) in coef file, Random coeff will be generated! Only for evaluation usage! Results are all random!
WARNING: Conv Layer conv5's coeff cannot be found(or not match) in coef file, Random coeff will be generated! Only for evaluation usage! Results are all random!
In put of TIDL_InnerProductLayer layer needs to be Faltten. Please add Flatten layer to import this mdoel
I have 2 questions
1、the conv2's coeff can't be found,I have add some log before the err line
printf("[%s] %#x,bufSize=%d,size=%d\n",TIDLPCLayers.name, TIDLPCLayers.weights.ptr, TIDLPCLayers.weights.bufSize, dataSize);
if(TIDLPCLayers.weights.ptr == NULL ||
TIDLPCLayers.weights.bufSize != dataSize)
{
printf("WARNING: Conv Layer %s's coeff cannot be found(or not match) in coef file, "
"Random coeff will be generated! "
"Only for evaluation usage! "
"Results are all random!\n", TIDLPCLayers.name);
...
}
the log after import is like this [conv2] 0xd281010,bufSize=614400,size=307200,
so the condition doesn't match,please tell me where is the param from ,is from the prototxt? is there any document can refer to.
2、as the err log "TIDL_InnerProductLayer layer needs to be Faltten." should I only add this layer before TIDL_InnerProductLayer in prototxt ?and the caffe model don't have any change?
TKS
Nigel