twostreamfusion
twostreamfusion copied to clipboard
Version Incompatibility issue
Hi @feichtenhofer , I think there is some issue with matconvnet version used in this code. When I am using the matconvnet uploaded to this repo, I get the error about "No public property dilate exists for class dagnn.Conv". I tried using the latest version of matconvnet, but I get this error: "The class dagnn.DagNN has no Constant property or Static method named 'setLrWd'. " So, apparretnly, none of these versions work. I was wondering if you happen to see this issue? Could you please help me with this? Thank you, Best.
I ran into this error when trying to run cnn_ucf101_spatial.m, and I think it occurs because the downloaded net from the matconvnet website was created using a more recent version of matconvnet. I resolved this by switching my matconvnet library to the most up-to-date one from github and then copying over Conv3D.m and other files specifically created for the two-stream network from feichtenhofer's version of matconvnet.
Hi @jaisanliang, Can you explain the steps more clearly and step by step. Thank you, Best.
I solved the problem. Using @jaisanliang steps.
- First I installed the newest matconvnet using the directives of the link http://www.vlfeat.org/matconvnet/install/
- Then I copied the all files from https://github.com/feichtenhofer/twostreamfusion/tree/master/matconvnet/matlab/%2Bdagnn into where I download and compiled the matconvnet library ./matconvnet/matlab/+dagnn. Best.
I have another problem about the two-stream CNN,when I compiled MexConv3D, there is an error'CL.EXE not found in PATH. Trying to guess out of mex setup. 'I don't know why
Try https://stackoverflow.com/questions/40226354/matconvnet-error-cl-exe-not-found
@blgnksy @jaisanliang
Sorry, do you mean that copy the +dagnn from feichtenhofer's github into the MatConvNet's installation's +dagnn folder? There are some files with same names. Should i replace them or skip? I have try your method but there still are error :
No public property dilate exists for class dagnn.Conv.
Error in dagnn.Layer/load (line 191) obj.(f) = s.(f) ;
What can I do next? Thank you very much.
Now, my Matlab's version is 2015b; VS 2013 professional; cuda 7.5; windows 2016 sever; cudnn v5.0; MatConvNet beta24
Thanks.
hi, @blgnksy @jaisanliang Can You please to explain the step again? I downloaded and installed the latest one of matconvnet from official website and copy the file from dagnn folder of twostreamfusion but still the same error "The class dagnn.DagNN has no Constant property or Static method named 'setLrWd'. " Thanks
@s1lent92 Unfortunately I exactly did the same procedure with you. Best.
@77QIQI First install the newest MatConvNet then copy all files in +dagnn folder which are provided by @feichtenhofer . Best.
This worked for me :
- Backup the matconvnet/matlab/+dagnn folder.
- Install the latest matconvnet replacing the older one.
- From backed up +dagnn folder, copy only those files to newer, which are not in newer +dagnn folder (there will be two files mostly : Conv3D.m and Pooling3D.m).
- From backed up +dagnn/@DagNN, copy only those files to newer, which are not in newer +dagnn/@DagNN folder (e.g. setLrWd.m).
Thanks a lot. I solved this problem:
- download the newest version of matconvnet
- copy +dagnn folder's files (choose the older and new versions whose size is bigger.)
- run the .m and change the +dagnn files to the old version in error lines.
@77QIQI @ blgnksy @jaisanliang Hi,I changed to latest version, Now, my Matlab's version is 2017a; ubuntu14.04; cuda 8.0; cudnn v5.1; MatConvNet beta25,but i still got the problem: No public property dilate exists for class dagnn.Conv.
Error in dagnn.Layer/load (line 191) obj.(f) = s.(f) ;
Thanks for the discussion above I solved the problem on my server by doing like this:
- download the latest version of matconvnet
- just copy all the files under "matlab/+dagnn/@DagNN" to the same folder of the latest edition to replicate the files with the same name.
- copy all the files under "matlab/+dagnn/" (do not incluse @DagNN folder) to the same folder of the latest edition to replicate the files with the same name.
I have found the way to solve this problem: Just change the 'matconvnet' to this version:https://github.com/feichtenhofer/matconvnet/tree/754322152dc65c0183310a9db4ac9e0e4c6bf8c5
@jaisanliang @blgnksy @PengchengXu07 Hello, have you successfully run this code?
@jaisanliang @blgnksy @PengchengXu07 Hello, have you successfully run this code?
just cnn_ucf101_spatial.m
@jaisanliang @blgnksy @ PengchengXu07你好,你有没有成功运行这段代码?
只是cnn_ucf101_spatial.m
Which GPU do you use, how much time is it?
@jaisanliang @blgnksy @ PengchengXu07你好,你有没有成功运行这段代码?
只是cnn_ucf101_spatial.m
Which GPU do you use, how much time is it?
1070ti , but I used neither ucf101 nor hmdb51, just used a lighter dateset.
I have found the way to solve this problem: Just change the 'matconvnet' to this version:https://github.com/feichtenhofer/matconvnet/tree/754322152dc65c0183310a9db4ac9e0e4c6bf8c5
exuse me,no errors using this matconvnet?