Skip to content
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

Add Google Colab Demo #16

Merged
merged 2 commits into from
Nov 17, 2021
Merged

Add Google Colab Demo #16

merged 2 commits into from
Nov 17, 2021

Conversation

xhluca
Copy link
Contributor

@xhluca xhluca commented Nov 8, 2021

The demo on HG Spaces is amazing! I used it for a few photos and really like it.

Unfortunately it seems it's getting quite crowded and takes over 20min to process due to the queue. Also it runs on a CPU.

I added a colab notebook that lets you upload a photo and run the model. It works on both CPU and GPUs. You can see what it looks like here: https://colab.research.google.com/github/xhlulu/animegan2-pytorch/blob/main/colab_demo.ipynb

@AK391
Copy link
Contributor

AK391 commented Nov 9, 2021

cool, also the demo on HF is using gpu now, try it out :)

@bryandlee
Copy link
Owner

Thanks! Actually there is a colab demo in readme so I updated it with the hub model.

@xhluca
Copy link
Contributor Author

xhluca commented Nov 17, 2021

@bryandlee the notebook is different. it is specifically a interact jupyter app that lets you upload your file, select the file type and run the model without having to run any code cell.

@bryandlee
Copy link
Owner

I see! That gives better accessibility

@bryandlee bryandlee merged commit 7289f0e into bryandlee:main Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants