Git Product home page Git Product logo

ldm-srtuning's People

Contributors

iceclear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ldm-srtuning's Issues

The configuration file environment

Your project is very enlightening, but I have a doubt, this code runs in the configuration file environment.yaml you provided, the project does not run successfully, it will show an error like this:
Traceback (most recent call last):
File "D:\17DEM\LDM-SRtuning-main\main.py", line 6, in
import pytorch_lightning as pl
File "D:\Anaconda\envs\diffusion\lib\site-packages\pytorch_lightning_init
.py", line 20, in
from pytorch_lightning import metrics # noqa: E402
File "D:\Anaconda\envs\diffusion\lib\site-packages\pytorch_lightning\metrics_init_.py", line 15, in
from pytorch_lightning.metrics.classification import ( # noqa: F401
File "D:\Anaconda\envs\diffusion\lib\site-packages\pytorch_lightning\metrics\classification_init_.py", line 14, in
from pytorch_lightning.metrics.classification.accuracy import Accuracy # noqa: F401
File "D:\Anaconda\envs\diffusion\lib\site-packages\pytorch_lightning\metrics\classification\accuracy.py", line 16, in
from torchmetrics import Accuracy as Accuracy
File "D:\Anaconda\envs\diffusion\lib\site-packages\torchmetrics_init
.py", line 14, in
from torchmetrics import functional # noqa: E402
File "D:\Anaconda\envs\diffusion\lib\site-packages\torchmetrics\functional_init_.py", line 14, in
from torchmetrics.functional.audio.deprecated import permutation_invariant_training as permutation_invariant_training
File "D:\Anaconda\envs\diffusion\lib\site-packages\torchmetrics\functional\audio_init
.py", line 15, in
from torchmetrics.functional.audio.sdr import (
File "D:\Anaconda\envs\diffusion\lib\site-packages\torchmetrics\functional\audio\sdr.py", line 27, in
solve = torch.linalg.solve
AttributeError: module 'torch.linalg' has no attribute 'solve'

Loss does not go down and explodes eventually!

Hello, I am trying to train your model on a single A6000 from scratch with DF2K dataset. First, I have tried your original config and then I have tried batch_size=18 and LR_size=64. Nevertheless, I couldn't train the model. The loss remains at 1 and eventually explodes. Output images is just random rgb noise. Would you be able to help me with this problem?

Thank you

Torch size mismatch error when loading pretrained model.

Hello, I got torch size mismatch error when I tried to load the pretrained model (https://huggingface.co/Iceclear/StableSR/resolve/main/ldmsr4x_finetune_119.ckpt) with the default config (configs/bsr_sr/config_sr_finetune.yaml).
Can the authors please check if the provided config parameters are consistent with the pre-trained model? I'm sorry I can't provide a screenshot of the reported error message because of the company's information management policy.
Thank you very much!

Train a new model with a new dataset

Hi, thank you for your repo, its very interesting.

I would like training a new model with my dataset, could you help me to tell me how could I achieve this goal? I guess that I have to change the root of the dataset in train and validation.

Resolution of output images

Hello, I tried your pretrained model on 256x256 images, but the output image is still 256x256.
How should I modify the parameters to achieve higher resolution output? Thank you.

Too much GPU memory to use the model

Hi! I have trained a model and when I try to use it, once time even the sampling start, the next error message appear me:

File "/usr/local/lib/python3.10/dist-packages/torch/functional.py", line 378, in einsum
return _VF.einsum(equation, operands) # type: ignore[attr-defined]
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 64.00 GiB (GPU 0; 14.75 GiB total capacity; 3.82 GiB already allocated; 10.50 GiB free; 3.94 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Is it normal that this high GPU memory amount was allocated to my proccess? :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.