twostreamfusion icon indicating copy to clipboard operation
twostreamfusion copied to clipboard

Version Incompatibility issue

Open sadjadasghari opened this issue 7 years ago • 20 comments

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.

sadjadasghari avatar Feb 27 '17 06:02 sadjadasghari

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.

jaisanliang avatar May 11 '17 17:05 jaisanliang

Hi @jaisanliang, Can you explain the steps more clearly and step by step. Thank you, Best.

blgnksy avatar May 15 '17 07:05 blgnksy

I solved the problem. Using @jaisanliang steps.

  1. First I installed the newest matconvnet using the directives of the link http://www.vlfeat.org/matconvnet/install/
  2. 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.

blgnksy avatar May 15 '17 11:05 blgnksy

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

icyzhang0923 avatar Jun 24 '17 07:06 icyzhang0923

Try https://stackoverflow.com/questions/40226354/matconvnet-error-cl-exe-not-found

blgnksy avatar Jun 24 '17 16:06 blgnksy

@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.

77QIQI avatar Aug 01 '17 12:08 77QIQI

Now, my Matlab's version is 2015b; VS 2013 professional; cuda 7.5; windows 2016 sever; cudnn v5.0; MatConvNet beta24

Thanks.

77QIQI avatar Aug 01 '17 12:08 77QIQI

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 avatar Sep 22 '17 19:09 s1lent92

@s1lent92 Unfortunately I exactly did the same procedure with you. Best.

blgnksy avatar Sep 27 '17 19:09 blgnksy

@77QIQI First install the newest MatConvNet then copy all files in +dagnn folder which are provided by @feichtenhofer . Best.

blgnksy avatar Sep 27 '17 19:09 blgnksy

This worked for me :

  1. Backup the matconvnet/matlab/+dagnn folder.
  2. Install the latest matconvnet replacing the older one.
  3. 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).
  4. From backed up +dagnn/@DagNN, copy only those files to newer, which are not in newer +dagnn/@DagNN folder (e.g. setLrWd.m).

chaitanya100100 avatar Sep 28 '17 17:09 chaitanya100100

Thanks a lot. I solved this problem:

  1. download the newest version of matconvnet
  2. copy +dagnn folder's files (choose the older and new versions whose size is bigger.)
  3. run the .m and change the +dagnn files to the old version in error lines.

77QIQI avatar Oct 16 '17 08:10 77QIQI

@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) ;

Victoria2333 avatar Oct 24 '17 15:10 Victoria2333

Thanks for the discussion above I solved the problem on my server by doing like this:

  1. download the latest version of matconvnet
  2. 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.
  3. 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.

jackietom avatar Feb 28 '18 11:02 jackietom

I have found the way to solve this problem: Just change the 'matconvnet' to this version:https://github.com/feichtenhofer/matconvnet/tree/754322152dc65c0183310a9db4ac9e0e4c6bf8c5

PengchengXu07 avatar Jul 25 '18 14:07 PengchengXu07

@jaisanliang @blgnksy @PengchengXu07 Hello, have you successfully run this code?

ZYF131 avatar Jan 15 '19 08:01 ZYF131

@jaisanliang @blgnksy @PengchengXu07 Hello, have you successfully run this code?

just cnn_ucf101_spatial.m

PengchengXu07 avatar Jan 15 '19 09:01 PengchengXu07

@jaisanliang @blgnksy @ PengchengXu07你好,你有没有成功运行这段代码?

只是cnn_ucf101_spatial.m

Which GPU do you use, how much time is it?

ZYF131 avatar Jan 15 '19 09:01 ZYF131

@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.

PengchengXu07 avatar Jan 15 '19 13:01 PengchengXu07

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?

lvyali avatar Jan 16 '19 14:01 lvyali