-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure getting EditGAN to run in Colab #8
Comments
Well, just seeing myself that it semed to have failed to load the demo_origin.js -- which is probably the reason it fails to see the JS functions. Will update this issue. |
Demo js is at Could you please also let me know how it's going on google Colab? Would like to help and update the Colab option in released code if possible |
Thank you @arieling - I have not yet gotten it to work properly, but at least solved the initial problem (which is why I am also adjust the title of this ticket). I managed to create a colab environment using the mentioned package versions and added ngrok to run_app.py to create a tunnel from the localhost:8888 to a public URL. I had some trouble loading the local files from within the 'index.html' because they seemed to be a CORS issues, so the files 'demo_origin.js' and 'demo.css' would not load. I was able to work around this for the moment by inlining both the script and the CSS into the index.html itself. I got the app loading up now and I can draw on the left and click the middle button (which I guess from the videos is the 'process' button). Once I click it, it looks like the app is running out of CUDA memory. This is where I am currently at. I dont know if the memory is really full, or if maybe something else isn't working properly. I am running on Google Colab Pro+ with extended RAM. The reported hardware is +-----------------------------------------------------------------------------+ The log report of the run_app.py is as follows:
|
@dubtor I managed to run your fork on colab using this notebook |
Thanks @udibr for sharing! Does this colab run the full demo for you? I tried to run yours, and in my case, it is still running out of CUDA memory, same like my own previous tests with an own Colab notebook. My own version run until I clicked the "process" button on the web UI. Yours was running OOM already during the bootup of the web app. I was using the GPU version on Colab+. Have you done anything differently? Thank you! |
I occasionally do get OOM but most of the time not. I did manage to modify the tire and headlights of the car image which was fun, but I have no idea how to use the rest of the features of this App |
I just tried again and indeed got OOM I then did "Runtime->Disconnect and delete run time" and re run the notbook and it works |
looks like adding the following code at the very top of
|
Maybe you want to make the editing region smaller to test first. Once you can deploy the model, the memory depends on your editing region area. |
I've tried that fix and still getting the out of memory error on a P100 One difference from the previous descriptions of the problem is that I can't get the url to open anything. |
I met the same problem as yours. U may like to check your projects follow the link below |
Thanks for sharing your code! I tried getting this to load up in Google Colab. After some hassle and experimenting, I got it to the state where it's loading up at least.
If I try to click something like checking the box, or uploading a file, I see the following reports:
The UI seems unresponsive. It is not perfectly clear whether that is due to a problem, or because I don't know how to use the software. Any hints?
Thank you 🙏
The text was updated successfully, but these errors were encountered: