Comments (8)
- First pad the image with zero/reflection to make the height and weight be a multiplication of 4.
- After processing, crop the extra pixels.
from edvr.
Hi,Thank you very much for sharing!
My pytorch version is 1.0.1,cuda=9.0. I can install the relevant package for this code. I can also successfully run "bash make.sh". However, running "python test_Vid4_REDS4_with_GT.py" has the following error: "ImportError: Failed to import DCNv2 module". I made the relevant changes, but it didn't work. What is the correct way to open?
from edvr.
If with this error "ImportError: Failed to import DCNv2 module
, it means the installation of DCN failed.
from edvr.
Hi @xinntao,
I did invoke make.sh command in /models/modules/DCNv2. The result is
Installed ./codes/models/modules/DCNv2
Processing dependencies for DCNv2==0.1
Finished processing dependencies for DCNv2==0.1
However, I still encountered this problem,
ImportError: Failed to import DCNv2 module
What could be the problem? Thank you.
from edvr.
Hi @xinntao,
I did invoke make.sh command in /models/modules/DCNv2. The result is
Installed ./codes/models/modules/DCNv2
Processing dependencies for DCNv2==0.1
Finished processing dependencies for DCNv2==0.1However, I still encountered this problem,
ImportError: Failed to import DCNv2 module
What could be the problem? Thank you.
I have used several hours to solve this problem. It caused by your gcc compiler version. If your gcc compiler version lower than 4.9, please update to 4.9 or higher. I recommend you use 5.4.0, because I update my gcc compiler to 7.3.0 and I get another "undefined symbol..." error. I didn't want to reinstall my gcc compiler because it will cost 1~2hours. So, I solved the new error by this: SeanNaren/warp-ctc#103 (comment)
from edvr.
Hi @xinntao,
I did invoke make.sh command in /models/modules/DCNv2. The result isInstalled ./codes/models/modules/DCNv2
Processing dependencies for DCNv2==0.1
Finished processing dependencies for DCNv2==0.1However, I still encountered this problem,
ImportError: Failed to import DCNv2 module
What could be the problem? Thank you.
I have used several hours to solve this problem. It caused by your gcc compiler version. If your gcc compiler version lower than 4.9, please update to 4.9 or higher. I recommend you use 5.4.0, because I update my gcc compiler to 7.3.0 and I get another "undefined symbol..." error. I didn't want to reinstall my gcc compiler because it will cost 1~2hours. So, I solved the new error by this: SeanNaren/warp-ctc#103 (comment)
Thank you, @siyux. However, I already have the gcc-5.4.0 version. The test_Vid4_REDS4_with_GT_DUF.py is working perfectly but the test_Vid4_REDS4_with_GT.py is encountering the above stated problem.
from edvr.
Hi @xinntao,
I did invoke make.sh command in /models/modules/DCNv2. The result isInstalled ./codes/models/modules/DCNv2
Processing dependencies for DCNv2==0.1
Finished processing dependencies for DCNv2==0.1However, I still encountered this problem,
ImportError: Failed to import DCNv2 module
What could be the problem? Thank you.
I have used several hours to solve this problem. It caused by your gcc compiler version. If your gcc compiler version lower than 4.9, please update to 4.9 or higher. I recommend you use 5.4.0, because I update my gcc compiler to 7.3.0 and I get another "undefined symbol..." error. I didn't want to reinstall my gcc compiler because it will cost 1~2hours. So, I solved the new error by this: SeanNaren/warp-ctc#103 (comment)
Thank you, @siyux. However, I already have the gcc-5.4.0 version. The test_Vid4_REDS4_with_GT_DUF.py is working perfectly but the test_Vid4_REDS4_with_GT.py is encountering the above stated problem.
I have a similar problem. So, I recompiled DCNv2 and everything goes well! Hope it also can help you.
from edvr.
Hi @xinntao,
I did invoke make.sh command in /models/modules/DCNv2. The result isInstalled ./codes/models/modules/DCNv2
Processing dependencies for DCNv2==0.1
Finished processing dependencies for DCNv2==0.1However, I still encountered this problem,
ImportError: Failed to import DCNv2 module
What could be the problem? Thank you.
I have used several hours to solve this problem. It caused by your gcc compiler version. If your gcc compiler version lower than 4.9, please update to 4.9 or higher. I recommend you use 5.4.0, because I update my gcc compiler to 7.3.0 and I get another "undefined symbol..." error. I didn't want to reinstall my gcc compiler because it will cost 1~2hours. So, I solved the new error by this: SeanNaren/warp-ctc#103 (comment)
Thank you, @siyux. However, I already have the gcc-5.4.0 version. The test_Vid4_REDS4_with_GT_DUF.py is working perfectly but the test_Vid4_REDS4_with_GT.py is encountering the above stated problem.
I have a similar problem. So, I recompiled DCNv2 and everything goes well! Hope it also can help you.
You mean delete "build" folder and re-run python setup.py develop? I can not fix this problem in this way.
It seems it doesn't work for torch1.3 and cuda10. It works when I use torch1.1 and cuda9.0
from edvr.
Related Issues (20)
- RuntimeError: Error compiling objects for extension
- the problem of python setup.py develop HOT 2
- the problem of PCD_Align HOT 1
- TypeError: DCNv2Pack() takes no arguments HOT 3
- AssertionError for assert x.size()[-2:] == flow.size()[1:3]
- The way to compute GFlops of deformable convolution
- What can be reason why I get this error: TypeError: DCNv2Pack() takes no arguments ? HOT 2
- 关于测试问题
- colab implementation of EDVR HOT 1
- NameError: name 'deform_conv_ext' is not defined HOT 1
- Results in MSU Video Super Resolution Benchmark
- EDVR: num_out_ch completely useless
- train on vimeo90K HOT 1
- Is REDS4_test correct paper split or REDSofficial4_test HOT 1
- what is woTSA? HOT 4
- Ringing artifacts on the output
- EDVR TSA模块里的点积运算符为什么是* 不应该是@吗
- EDVR colab? HOT 5
- what is the mean of the mask
- No such file or directory: 'experiments/103_EDVR_L_x4_SR_REDS_woTSA_600k_B4G8_valREDS4_wandb/models/net_g_600000.pth'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edvr.