Giter Club home page Giter Club logo

Comments (12)

hirusnov avatar hirusnov commented on August 15, 2024 1

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd

in step 3: use %cd /content/drive/MyDrive/ and start to clone github
after clone: use %cd FALdetector to go to folder

from faldetector.

konsumer avatar konsumer commented on August 15, 2024 1

I made one you can fork, see #31 In the issue I have some notes on more efficient file stuff (via Drive) including saving the files in a Drive dir, and several ways to collect input images.

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

It is very easy to install and use on colab.
Step by step:
1: open new notebook and set runtime is GPU
2: connect to google drive for storage
3: " %cd " cd to drive folder
4: !git clone https://github.com/PeterWang512/FALdetector.git
5: %cd to folder FALdetector
6: Follow (2) Run our models on FALdetector github
Goodluck to u

from faldetector.

burninglay avatar burninglay commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

from faldetector.

burninglay avatar burninglay commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd

in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

I dont know how to save result too. I think we can change the code, but i dont know.

from faldetector.

SamuelChih avatar SamuelChih commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

Hi, can you share the link to your colab model?
I have trouble install the valset to the colab, plus there is no point to reinvent the wheel.

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

Hi, can you share the link to your colab model?
I have trouble install the valset to the colab, plus there is no point to reinvent the wheel.

What wrong with you guys?
Can you explain more?

from faldetector.

SamuelChih avatar SamuelChih commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

Hi, can you share the link to your colab model?
I have trouble install the valset to the colab, plus there is no point to reinvent the wheel.

What wrong with you guys?
Can you explain more?

image
https://colab.research.google.com/drive/1qbZ53V3Lzwe5f_nRRJi2LaXXCV_Iw1Ij?usp=sharing
Idk where did I do wrong, but it keep showing invalid syntax, after like 2 hr of trial and error this is where I gave up last time...

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

Hi, can you share the link to your colab model?
I have trouble install the valset to the colab, plus there is no point to reinvent the wheel.

What wrong with you guys?
Can you explain more?

image
https://colab.research.google.com/drive/1qbZ53V3Lzwe5f_nRRJi2LaXXCV_Iw1Ij?usp=sharing
Idk where did I do wrong, but it keep showing invalid syntax, after like 2 hr of trial and error this is where I gave up last time...

Ohhh I see
you must use !python instead of python on colab
Goodluck guy

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

Hi,when I trying to use on colab in step5:
%cd it shows: /root
I have already connect to my google drive
how to chance to folder FALdetector?

Type that code:
import os
os.chdir('/content/drive/My Drive/folder name')
after that, you can confirm it worked with the pwd command like this: !pwd
in step 3: use %cd /content/drive/My\ Drive/ and start to clone github
after clone: use %cd FALdetector to go to folder

thx for helping. I have run the model successfully:
Probability being modified by Photoshop FAL: 5.25%
But how can I save the Process picture(like Suggest undo ) as the demo shows?

Hi, can you share the link to your colab model?
I have trouble install the valset to the colab, plus there is no point to reinvent the wheel.

What wrong with you guys?
Can you explain more?

image
https://colab.research.google.com/drive/1qbZ53V3Lzwe5f_nRRJi2LaXXCV_Iw1Ij?usp=sharing
Idk where did I do wrong, but it keep showing invalid syntax, after like 2 hr of trial and error this is where I gave up last time...

you don't need to download valset, it is only used to validate the model's accuracy

from faldetector.

hirusnov avatar hirusnov commented on August 15, 2024

Download the dataset

cd data
!bash download_valset.sh
cd ..

Run evaluation script. Model weights need to be downloaded.

!python eval.py --dataroot data --global_pth weights/global.pth --local_pth weights/local.pth --gpu_id 0
This is true code for download valset and test

from faldetector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.