IOPaint icon indicating copy to clipboard operation
IOPaint copied to clipboard

How to run on colab

Open noriwaru opened this issue 3 years ago • 4 comments

Hello, I am looking for a way to run on colab. I have a question.

The link on the top page↓ https://colab.research.google.com/drive/1e3ZkAJxvkK3uzaTGu91N9TvI_Mahs0Wb?usp=sharing When I run 「3. Start Lama Cleaner server」, I get the following code.

2022-12-10 06:31:14.909 | INFO | lama_cleaner.model.lama:init_model:30 - Load LaMa model from: /root/.cache/torch/hub/checkpoints/big-lama.pt 2022-12-10 06:31:17.286 | INFO | lama_cleaner.helper:load_jit_model:44 - Load model from: /root/.cache/torch/hub/checkpoints/clickseg_pplnet.pt

  • Running on http://0.0.0.0:4242/ (Press CTRL+C to quit)

I cannot access the site by clicking on "http://0.0.0.0:4242/". What do I do?

noriwaru avatar Dec 10 '22 06:12 noriwaru

The same question

guocuixia avatar Jan 11 '23 11:01 guocuixia

Did you solve it

guocuixia avatar Jan 11 '23 11:01 guocuixia

Open the ngrok public URL(in 2. Setup ngrok) to access the web app

Sanster avatar Jan 11 '23 12:01 Sanster

Hey @Sanster I've just tried a simpler way that doesn't require to setup ngrok but directly uses the Colab "proxy" public url.

here is the notebook https://colab.research.google.com/gist/mgaitan/61ff6841552d5182535d91e989daad9d/lama-cleaner.ipynb

I hope this be useful

mgaitan avatar Jan 15 '23 04:01 mgaitan

Thanks everyone. Sorry I forgot to reply.

noriwaru avatar Feb 02 '23 17:02 noriwaru