Giter VIP home page Giter VIP logo

Comments (3)

lpiccinelli-eth avatar lpiccinelli-eth commented on September 21, 2024

Thank you for using our model, I believe that the main problem is that idisc is not in the pythonpath.
You should do something like export PYTHONPATH="<IDISC-REPO_PATH>:${PYTHONPATH}" before running the model (where <IDISC-REPO_PATH> is the to idisc dir like $HOME/Workspace/idisc).

from idisc.

AvidahRai avatar AvidahRai commented on September 21, 2024

Thank you. export command did not work on Goggle Colab. However, I did this.

import os
os.environ['PYTHONPATH'] = f"{os.getcwd()}:{os.environ.get('PYTHONPATH', '')}"

Also, I had to manually change /idisc/idisc/models/ops/make.sh file on line 5

python setup.py build install --prefix $VIRTUAL_ENV
to
pip install -e .

Then I could finally run !bash ./make.sh

After doing that I was able to run the test.py code. I got the same results as stated without disparity.
E.g.
image

Thank you very much.

from idisc.

BiaBibii avatar BiaBibii commented on September 21, 2024

Hi, could you please share the Google Colab notebook you use?

from idisc.

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.