nvidia-digits

How to fix, “error: (-215) pbBlob.raw_data_type() == caffe::FLOAT16 in function blobFromProto” when running neural network in OpenCV

蹲街弑〆低调 提交于 2020-01-06 04:37:11
问题 I am currently trying to use Nvidia DIGITS to train a CNN on a custom dataset for object detection, and eventually I want to run that network on an Nvidia Jetson TX2. I followed the recommended instructions to download the DIGITS image from Docker, and I am able to successfully train a network with reasonable accuracy. But when I try to run my network in python using OpenCv, I get this error, "error: (-215) pbBlob.raw_data_type() == caffe::FLOAT16 in function blobFromProto" I have read in a

Error in Using Nvidia DIGITS trained Models in OpenCV

帅比萌擦擦* 提交于 2020-01-05 05:31:08
问题 I Trained my model using DIGITS ( NVCaffe) and I use it in opencv similar to opencv example that use .prototxt & .caffemodel and i tested it and work good. But when I use Models that trained by digits i got this error: OpenCV Error: Assertion failed (pbBlob.raw_data_type() == caffe::FLOAT16) in blobFromProto, file /opt/opencv/modules/dnn/src/caffe/caffe_importer.cpp, line 242 Exception: /opt/opencv/modules/dnn/src/caffe/caffe_importer.cpp:242: error: (-215) pbBlob.raw_data_type() == caffe:

Error in Using Nvidia DIGITS trained Models in OpenCV

ⅰ亾dé卋堺 提交于 2020-01-05 05:31:04
问题 I Trained my model using DIGITS ( NVCaffe) and I use it in opencv similar to opencv example that use .prototxt & .caffemodel and i tested it and work good. But when I use Models that trained by digits i got this error: OpenCV Error: Assertion failed (pbBlob.raw_data_type() == caffe::FLOAT16) in blobFromProto, file /opt/opencv/modules/dnn/src/caffe/caffe_importer.cpp, line 242 Exception: /opt/opencv/modules/dnn/src/caffe/caffe_importer.cpp:242: error: (-215) pbBlob.raw_data_type() == caffe:

Caffe with OpenCV 3 and NVIDIA Digits: OpenCV version conflict (2.4 vs 3.0)

拈花ヽ惹草 提交于 2019-12-25 07:39:27
问题 Background: I wish to use both Caffe and Digits such that I can use Caffe within the Digits framework or external to it. However, for a particular project, I require that Caffe uses OpenCV 3 and not OpenCV 2.4, which Digits installs by default. This project uses Caffe external to Digits, and does not make any use of the Digits framework. It appears that by installing Digits, my OpenCV 3 installation was "clobbered" with OpenCV 2.4, which is now causing problems within my original Caffe

How to use new pretraining model with different dataset in DIGITS (different labels)?

走远了吗. 提交于 2019-12-11 02:39:13
问题 I want to use VGG_ILSVRC_19_layers as a pretrained model in digits but with different dataset. Do I need different label files? How can I upload this model and use it for my dataset? for the VGG 16 layers I got ERROR: Cannot copy param 0 weights from layer 'fc6'; shape mismatch. Source param shape is 1 1 4096 25088 (102760448); target param shape is 4096 32768 (134217728). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer. how can modify

How to apply a pre-trained model of 3 channel images on single channel images?

烂漫一生 提交于 2019-12-08 04:45:00
问题 I tried to used a pre-trained model that already was trained on three-channel color images, however, I am getting an error because of shape difference. Could someone let me know how can I tackle this issue? One user had suggested using Tile layer, but I could not find any relevant document/help for using this layer or any other solution. I really appreciate your help. 回答1: There is not much information in caffe.proto about tile layer. If you look at the code it just copies data tiles times

Multiple pretrained networks in Caffe

痴心易碎 提交于 2019-12-07 00:33:33
问题 Is there a simple way (e.g. without modifying caffe code) to load wights from multiple pretrained networks into one network? The network contains some layers with same dimensions and names as both pretrained networks. I am trying to achieve this using NVidia DIGITS and Caffe. EDIT : I thought it wouldn't be possible to do it directly from DIGITS, as confirmed by answers. Can anyone suggest a simple way to modify the DIGITS code to be able to select multiple pretrained networks? I checked the

Multiple pretrained networks in Caffe

会有一股神秘感。 提交于 2019-12-05 05:43:45
Is there a simple way (e.g. without modifying caffe code) to load wights from multiple pretrained networks into one network? The network contains some layers with same dimensions and names as both pretrained networks. I am trying to achieve this using NVidia DIGITS and Caffe. EDIT : I thought it wouldn't be possible to do it directly from DIGITS, as confirmed by answers. Can anyone suggest a simple way to modify the DIGITS code to be able to select multiple pretrained networks? I checked the code a bit, and thought the training script would be a good place to start, but I don't have in-depth

Deploy network is missing a Softmax layer

让人想犯罪 __ 提交于 2019-12-02 04:23:34
问题 I try to use pretrained model (VGG 19) to DIGITS but I got this error. ERROR: Your deploy network is missing a Softmax layer! Read the documentation for custom networks and/or look at the standard networks for examples I try to test with my dataset which has only two classes. I read this and this try to modify last layer but also I got error. How can I modify layers based on new dataset? I try to modify the last layer and I got error ERROR: Layer 'softmax' references bottom 'fc8' at the TRAIN

Using bvlc_googlenet as pretrained model in digits - errors

北战南征 提交于 2019-11-28 10:42:35
问题 digits 4.0 0.14.0-rc.3 /Ubuntu (aws) training a 5 class GoogLenet model with about 800 training samples in each class. I was trying to use the bvlc_imagent as pre-trained model. These are the steps I took: downloaded imagenet from http://dl.caffe.berkeleyvision.org/bvlc_googlenet.caffemodel and placed it in /home/ubuntu/models 2. a. Pasted the "train_val.prototxt" from here https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/train_val.prototxt into the custom network tab