Comments (9)
Understandable. Just want to note that even with the warnings and no changes, it also works perfectly, so it's more of a minor inconvenience than a problem.
from kernelgan.
- Thanks for the compliments.
- IDK why you get these messages. Please verify your environment is exactly as specified in the requirements.txt.
- I didn't try the network on huge images, but on realistic sized ones (few MegaPixels) - it works.. On the other hand, very small images (200x200 pixels) would not work very well. If you are interested in such images, I can elaborate.
from kernelgan.
- Thanks for the compliments.
- IDK why you get these messages. Please verify your environment is exactly as specified in the requirements.txt.
- I didn't try the network on huge images, but on realistic sized ones (few MegaPixels) - it works.. On the other hand, very small images (200x200 pixels) would not work very well. If you are interested in such images, I can elaborate.
Thank you for your prompt reply
My operating environment is indeed different from the requirement. Is this just related to the environment?Does this warning affect the outcome?
The images I currently test are really around 200200, but most of the images I will run next time are above 70007000, so the program will be very easy to rebuild, right?
from kernelgan.
I am not familiar with these warnings but I suspect the environment.
7000x7000 is larger than I experimented on - I hope it works well... It should!
from kernelgan.
I am not familiar with these warnings but I suspect the environment.
7000x7000 is larger than I experimented on - I hope it works well... It should!
ok,Thank you for your reply
from kernelgan.
Hello. I (and probably everyone using a recent pytorch version) also get the warnings. These happen on three of the losses: BoundariesLoss, SumOfWeightsLoss and CentralizedLoss. Two of them are easy to fix, as they only need to add the missing dimension, but BoundariesLoss compares a fully expanded kernel (torch.Size([1, 1, 13, 13])) to the self.zero_label Variable, which only has one dimension of size 'k_size'. If expanded to the correct size, (1 x 1 x k_size x k_size) the warning goes away.
from kernelgan.
What torch version are you using?
from kernelgan.
Pytorch 1.3.0 and 1.6.0, tested on both.
from kernelgan.
I specified in the requirements torch=1.0.0.
Try that version, I do not want to change the code without understanding the degradation
from kernelgan.
Related Issues (20)
- X4 kernel specs in DIV2KRK HOT 1
- It seems like a bug?
- UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize HOT 5
- RuntimeError: cuDNN error: CUDNN_STATUS_BAD_PARAM HOT 2
- network parameter asking HOT 6
- Why do you swap axis? HOT 2
- why not directly save the params of Generator for downscaling? why not non-linear? HOT 3
- Question about the DownScaleLoss HOT 1
- About DIV2KRK HOT 1
- about Generator and Discriminator output size HOT 5
- Questions about generator networks HOT 2
- How do you generate such an image? HOT 8
- How do you visualize the ".mat" files HOT 3
- There was a problem with training in another data set HOT 1
- How to gain the PSNR and SSIM HOT 2
- What's the meaning of "input-dir" and "input_img_path"
- Is your training data set the same as your test set HOT 2
- Why there needs flip orperation when calculate the kernel ? HOT 1
- No file .mat HOT 1
- ValueError: shapes (512,512,1) and (3,) not aligned: 1 (dim 2) != 3 (dim 0) HOT 2
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 kernelgan.