dynconv icon indicating copy to clipboard operation
dynconv copied to clipboard

/annot/valid.json is missing

Open zhang-pengyu opened this issue 4 years ago • 3 comments

Thanks for your inspiring work on dynamic convolution. I am interested in this exciting work and try to test the efficiency of dynconv. I run the test code for pose estimation and met a exception: No such file or directory: '$mpii_root/annot/valid.json'. I wonder how can I get this file.

BTW, when I set the stride = 2 for conv3x3_dw. I often crashed with 'THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/THC/THCCachingHostAllocator.cpp line=296 error=77 : an illegal memory access was encountered'. Could you help me debug those issues? Thanks in advance.

Pengyu Zhang.

zhang-pengyu avatar May 22 '21 13:05 zhang-pengyu

The valid.json is part of the MPII dataset. Did you download that one and is $mpii_root pointing to the right location?

For the CUDA error: did you set stride=2 for the MaskUnit too?

thomasverelst avatar May 27 '21 17:05 thomasverelst

I downloaded the dataset via http://human-pose.mpi-inf.mpg.de/#download, and the extension of annotation file is '.mat'. Could you point out the relative path of 'valid.json'

Since I did not test on pose estimation task, I just borrow the raw code and I check the stride is the same as conv layer. I will appreciate if you can provide some ideas on how to debug it. Thanks in advance.

zhang-pengyu avatar May 28 '21 03:05 zhang-pengyu

I found that the error stems from the cupy code 'masked_conv' and it does not always appear. It seems strange. I have no idea for debugging it. Have you met this issue?

zhang-pengyu avatar May 28 '21 13:05 zhang-pengyu