Comments (16)
There may be multiple tasks running on the machine at the same time, or the machine may not have enough memory
from srgan-pytorch.
What is the size of your image? Observe the fluctuation of the CUDA memory during the operation of the program.
from srgan-pytorch.
When i calculate the psnr and update them i get the above error and my cuda memory as shown below but if i calculate the psnr but don't update them no more error.
from srgan-pytorch.
The PSNR model is small and fast, it shouldn't take up so much memory, can you tell me the memory usage with and without PSNR?
from srgan-pytorch.
When i comment psnr in train function, cuda memory as shown below
from srgan-pytorch.
Does this issue occur during training or during testing?
from srgan-pytorch.
train() or validate()?
from srgan-pytorch.
only in train()
from srgan-pytorch.
CUDA version?
CUDNN version?
PyTorch & Torchvision version?
from srgan-pytorch.
In the current code, the psnr calculation will not be called, but will be called in validate(), check the difference between some native code and the latest code on Git?
from srgan-pytorch.
CUDA 11.1
CUDNN 8.0.5
Pytorch 1.11.0+cu113
Torchvision 0.12.0+cu113
I run this in gg colab
from srgan-pytorch.
yes, but i don't know why when i call train() it gives error
from srgan-pytorch.
give me your config.py file. I check it
from srgan-pytorch.
I edit your code in this repo, please help me check it
[email protected]:leminhhuy132/SRGAN_DACN.git
from srgan-pytorch.
I edit your code in this repo, please help me check it [email protected]:leminhhuy132/SRGAN_DACN.git
in config.py 46 line batch_size 256? lt is so big?
from srgan-pytorch.
i tried batch_size 16, it still got error
from srgan-pytorch.
Related Issues (20)
- ema_model
- loss of generator HOT 4
- The amp HOT 3
- Torch not compiled with CUDA enabled HOT 1
- TypeError: 'type' object is not subscriptable HOT 3
- TypeError: unsupported operand type(s) for |: 'torch._C._TensorMeta' and 'type' HOT 6
- Resnet Models num_blocks HOT 1
- How do you test the SRResNet Models? HOT 1
- TypeError: preprocess_one_image() missing 2 required positional arguments: 'half' and 'device' HOT 1
- model_weights_path HOT 1
- TypeError: discriminator_for_vgg() got an unexpected keyword argument 'in_channels' HOT 4
- Traceback (most recent call last): File "F:\SRGAN-PyTorch-main\test.py", line 190, in <module> main() File "F:\SRGAN-PyTorch-main\test.py", line 169, in main config["ONLY_TEST_Y_CHANNEL"], KeyError: 'ONLY_TEST_Y_CHANNEL' HOT 1
- About Training with SRGAN HOT 1
- about upscale==3 HOT 5
- train_gan.py : Model weight file not found, state_dict Missing key(s), Unexpected key(s) HOT 1
- Train Code HOT 1
- Unable to reproduce the result of SRGAN_x4-SRGAN_ImageNet.pth.tar HOT 1
- Test out of memory HOT 1
- Issues running the test.py HOT 4
- The dataset have changed? HOT 1
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 srgan-pytorch.