ImageAI-Setup-Guide icon indicating copy to clipboard operation
ImageAI-Setup-Guide copied to clipboard

Can't run the set up

Open milimlim opened this issue 2 years ago • 6 comments

Hi, I don't really understand these computer stuff since I'm just an artist that use this set up as reference for the art I'm making. I for somereason can't run the set up? I've followed your guide set up and has been doing so for the past couple of months, but it stopped working since around a couple of days ago. I hope you can help me figure out what i did wrong and run it again :(( ty

milimlim avatar Jul 14 '23 07:07 milimlim

It's because torchmetrics was recently updated which broke the program, currently trying to figure out a solution myself

ThatOneNerd0329 avatar Jul 16 '23 06:07 ThatOneNerd0329

https://colab.research.google.com/drive/15_sd1tymWK-HPK88iWb12AP8j0U8hZXG

Before run something... Step 2. Paste it instead last line: !/content/naifu/venv/bin/python -m pip install -qq pytorch_lightning==1.7.7 torchmetrics==0.11.4

brskdrvgon avatar Jul 18 '23 16:07 brskdrvgon

It's because torchmetrics was recently updated which broke the program, currently trying to figure out a solution myself

huge good luck to you for it, i really hope a solution can be found soon as it really does slow down my work by a whole lot ;w;

milimlim avatar Aug 21 '23 10:08 milimlim

https://colab.research.google.com/drive/15_sd1tymWK-HPK88iWb12AP8j0U8hZXG

Before run something... Step 2. Paste it instead last line: !/content/naifu/venv/bin/python -m pip install -qq pytorch_lightning==1.7.7 torchmetrics==0.11.4

i tried running it at it still doesnt work, i might be wrong but where do i paste that? what last line :'D im sorry, i really am new to this whole thing so i'm a bit slow with things ;w;

milimlim avatar Aug 21 '23 10:08 milimlim

https://colab.research.google.com/drive/15_sd1tymWK-HPK88iWb12AP8j0U8hZXG Before run something... Step 2. Paste it instead last line: !/content/naifu/venv/bin/python -m pip install -qq pytorch_lightning==1.7.7 torchmetrics==0.11.4

i tried running it at it still doesnt work, i might be wrong but where do i paste that? what last line :'D im sorry, i really am new to this whole thing so i'm a bit slow with things ;w;

Paste that line of code in the 3rd line, that's how I got it to work. Should look like the code below.

%cd /content/naifu !sed -i 's/# export SAVE_FILES="1"/export SAVE_FILES="1"/g' run.sh !/content/naifu/venv/bin/python -m pip install -qq pytorch_lightning==1.7.7 torchmetrics==0.11.4 !bash run.sh & cloudflared tunnel --url localhost:6969

ThatOneNerd0329 avatar Aug 22 '23 19:08 ThatOneNerd0329

https://colab.research.google.com/drive/15_sd1tymWK-HPK88iWb12AP8j0U8hZXG Before run something... Step 2. Paste it instead last line: !/content/naifu/venv/bin/python -m pip install -qq pytorch_lightning==1.7.7 torchmetrics==0.11.4

i tried running it at it still doesnt work, i might be wrong but where do i paste that? what last line :'D im sorry, i really am new to this whole thing so i'm a bit slow with things ;w;

i have some issues 2 days ago... solved: just paste (in step 2) ..."-m pip install -qq pytorch_lightning==1.6.5" instead

brskdrvgon avatar Aug 24 '23 03:08 brskdrvgon