Comments (12)
Hi~
Thanks for your interest.
Would you mind trying another way to install and activate conda env following this link?
We both use conda env and I guess it may be the problem of using the conda env but I am not very familiar with Colab so I do not have solutions now.
I do not have a pro account and I have run out of my quota today.
Sry that I cannot help now.
I may try to figure out the reason after I have free quota again.
from stablesr.
@IceClear Hello I saw the notebook , it had many errors , I fixed the Errors ,except for the Cuda out of memory I think it needs Colab pro + not just pro , I tried it on Kaggle with p100 and it still gave me "Your notebook tried to allocate too much memory and could not be recovered. " anyways here is the fully fixed Remake of the Colab , if you want to save it on your account and change the Colab link in the readme feel free to do so. https://colab.research.google.com/drive/1LcoDjd9pTp3BpS1upPFbmMe4xC0kkzQu?usp=sharing
from stablesr.
@ARTUROSING sorry my account got disabled for a bit That's why , use this instead https://colab.research.google.com/drive/11SE2_oDvbYtcuHDbaLAxsKk_o3flsO1T?usp=sharing it is basically the same , the author took from the my modified version and added it there :) . any ways it wont work since it needs big ram unless you have google colab pro + , even on pro + it might not work , it needs like "A100 80gb" I think. you are welcome
Hi, @francqz31 and @ARTUROSING . May I know what is the problem of the latest colab I published? From my side, it seems like not enough system ram rather than gpu memory. I tested on my local computer and now the gpu requirement should not be that high, i.e., 10G should be enough for testing on 4x SR on 128x128. Thanks for your help.
I have successfully run the Colab demo using the Colab Pro I just bought : )
To run the demo you may have to use the High-RAM runtime which is available for Pro and Pro+.
For GPU memory, 16G is enough.
Thank @francqz31 again for providing great help on this demo.
And also thank others for the patience of the demo.
from stablesr.
I'll try that tomorrow, I should have some free time. Colab is sometimes really stubborn with dependencies version. I know it's not always easy to get things to work there.
Thanks for the answer and the work done with this project !
from stablesr.
Provide detailed information (Console Report) about your problem you encountered. As having the problem itself, with a description here we will help you solve it, and improve the stability of future releases.
from stablesr.
I'm only getting a kind of "Your session crashed, restarting..." notifications during the installation, and then Colab is stucked on "reconnecting", and never reconnects.
from stablesr.
Prepartion/install cell is not working, it throws a
"COLAB" CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
Not long before the crash it also installs pytorch=1.12.1 but then remove it and install pytorch=2.0.1
from stablesr.
I'm only getting a kind of "Your session crashed, restarting..." notifications during the installation, and then Colab is stucked on "reconnecting", and never reconnects.
Hi. I now meet the same error as you :(
It seems like the issue of condacolab, see here.
I am still working to figure out the solution.
from stablesr.
Hi, guys.
Thanks all your kind help, especially thank @francqz31 for devoting time on this.
I have conducted a detailed test and fixed most of the errors.
Colab is a little bit strange since the packages in the env file should be installed after creating the environment, but it seems I have to reinstall again on the colab. I am not familiar with it so I do not know the reason.
Anyway, I think now at least you should be able to run if you have enough RAM, I am stuck on the System RAM since the basic 13G seems not enough for StableSR to run :(
A good news may be I found some unimportant operations in test file and I removed them. Now 16G GPU memory should be enough for most of cases. For tile operation on the colab, just reduce the tile size to about 1024 should work.
from stablesr.
@IceClear Здравствуйте, я видел блокнот, в нем было много ошибок, я исправил ошибки, за исключением Cuda нехватки памяти, я думаю, что ему нужен Colab pro + не только pro, я попробовал его на Kaggle с p100, и он все равно выдал мне «Ваш ноутбук попробовал выделять слишком много памяти и не может быть восстановлено». В любом случае, вот полностью исправленная версия Colab, если вы хотите сохранить ее в своей учетной записи и изменить ссылку на Colab в файле readme, не стесняйтесь делать это. https://colab.research.google.com/drive/1LcoDjd9pTp3BpS1upPFbmMe4xC0kkzQu?usp=sharing
You reported that you made some fixes to the google colab StableSR laptop, but trying to click on the link you provided requires permission or access to your laptop.
Could you please grant access, for study purposes.
Thank you for your consideration.
from stablesr.
@ARTUROSING sorry my account got disabled for a bit That's why , use this instead https://colab.research.google.com/drive/11SE2_oDvbYtcuHDbaLAxsKk_o3flsO1T?usp=sharing it is basically the same , the author took from the my modified version and added it there :) . any ways it wont work since it needs big ram unless you have google colab pro + , even on pro + it might not work , it needs like "A100 80gb" I think. you are welcome
from stablesr.
@ARTUROSING sorry my account got disabled for a bit That's why , use this instead https://colab.research.google.com/drive/11SE2_oDvbYtcuHDbaLAxsKk_o3flsO1T?usp=sharing it is basically the same , the author took from the my modified version and added it there :) . any ways it wont work since it needs big ram unless you have google colab pro + , even on pro + it might not work , it needs like "A100 80gb" I think. you are welcome
Hi, @francqz31 and @ARTUROSING . May I know what is the problem of the latest colab I published? From my side, it seems like not enough system ram rather than gpu memory. I tested on my local computer and now the gpu requirement should not be that high, i.e., 10G should be enough for testing on 4x SR on 128x128.
Thanks for your help.
from stablesr.
Related Issues (20)
- Socket problem HOT 2
- Ask about feature maps modulation HOT 1
- Question about testing data HOT 1
- Question on no FID Results for RealSR and DRealSR in Paper. HOT 2
- The Practicability of ComfyUI Integration HOT 1
- DPED-iphone dataset HOT 1
- DDIM inference eta HOT 1
- missing code HOT 3
- 4x upscale is fine but 2x upsacle poor with my own finetuned model HOT 1
- How long does it take to generate training data? HOT 1
- During the model training process, the degraded images in the training set were restored to the ink style. HOT 1
- what is the command to run the upscaler on colab HOT 2
- ---
- Question about Test FaceSR HOT 4
- is "python main.py --train --base configs/stableSRNew/v2-finetune_text_T_512.yaml --gpus GPU_ID, --name NAME --scale_lr False" still runable? HOT 6
- AttributeError: module 'ldm.models.diffusion.ddpm' has no attribute 'LatentDiffusionSRTextWT' HOT 3
- SFT training problem
- SR Result is a noise image HOT 1
- About the issue of non-decreasing training loss HOT 2
- packages is strictly installed follow the procedure but still xformers install went wrong
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 stablesr.