-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCF C3D train fails with 'Unknown Layer Type : NdConvolution' error #5
Comments
Sorry. NdPooling/NdConvolution layers depend on CUDA. While it's possible to implement them in CPU, I don't have resource to do that. If upstream does get that update later, I'll pull that in. |
@chuckcho I use |
@fengwhu I assume you have Cuda set up, but still crash with the same message? video-caffe does depend on Cuda (and optionally CuDNN). |
@chuckcho Yes, I have Cuda set up, and can run the Mnist example with Cuda in caffe. The CaffeConfig.cmake file in build directory of video-caffe also shows as |
Haven't had an issue for me (on several machines) -- so, it's hard to troubleshoot. I think it's related to the building process. Could you try |
I get the same error! 415 20:07:18.243010 27280 layer_factory.hpp:81] Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: NdConvolution (known types: AbsVal, Accuracy, ArgMax, BNLL, BatchNorm, BatchReindex, Bias, Concat, ContrastiveLoss, Convolution, Data, Deconvolution, Dropout, DummyData, ELU, Eltwise, Embed, EuclideanLoss, Exp, Filter, Flatten, HDF5Data, HDF5Output, HingeLoss, Im2col, ImageData, InfogainLoss, InnerProduct, LRN, Log, MVN, MemoryData, MultinomialLogisticLoss, PReLU, Pooling, Power, ReLU, Reduction, Reshape, SPP, Scale, Sigmoid, SigmoidCrossEntropyLoss, Silence, Slice, Softmax, SoftmaxWithLoss, Split, TanH, Threshold, Tile, VideoData, WindowData) |
@timanish @mzolfaghari @timanish I suspect this is related to CUDNN. NdConvolution/NdPooling requires CUDNN. Can you guys check? |
Yes. It is exactly related to CUDNN! I install CUDNN and build video-caffe again, it works. |
Finally, video-caffe build successfully and network starts working. First of all check if you installed CuDNN version >= 4. I tried with CuDNN version 3 but couldn't built it! set path of cudnn and cuda library and include directories in you bashrc and Makefile.config. Also, you should add path of opencv and all required libraries. If you want to use cmake for building the video-caffe (I coudn't build successfully with cmake!), check if CuDNN configured correctly. With using cmake you should get the following configuration: -- NVIDIA CUDA: if there is some problem with cmake to recognize the CUDNN try running ccmake and setting CUDNN_INCLUDE, CUDNN_LIBRARY and CUDNN_ROOT. or you use the following command with your paths : Best, |
@mzolfaghari thanks for sharing this information, and it's good that you finally built and run it. :) |
Hi!
I am using CPU_ONLY build of this project. My frames/videos etc are all in correct location. While running train_ucf101.sh (c3d_ucf101 example), I am getting the following error
Any help understanding this error is appreciated!
Thanks
The text was updated successfully, but these errors were encountered: