Code Monkey home page Code Monkey logo

Comments (3)

fredzzhang avatar fredzzhang commented on June 18, 2024

Hi, @vjsrinivas

I did not run the test in the known object (ko) setting. But from the default setting (def), the performance 0.608 looks like it's using a randomly initialised model, instead of our trained model.

So just to make sure, have you downloaded the checkpoint of our trained model? And when generating the .mat files, have you correctly specified the path to the checkpoint?

  1. Download the checkpoint
cd /path/to/spatio-attentive-graphs/download
bash download_checkpoint.sh

The checkpoint should have been downloaded to /path/to/spatio-attentive-graphs/checkpoints/spatio-attentive-graph-hicodet-e11.pt

  1. Run the caching script
cd /path/to/spatio-attentive-graphs
CUDA_VISIBLE_DEVICES=0 python cache.py --model-path checkpoints/spatio-attentive-graph-hicodet-e11.pt

When running this script, you should see a printed message that says Loading model from checkpoints/spatio-attentive-graphs-hicodet-e11.pt

Let me know if this resolves the issue.

Cheers,
Fred

from spatially-conditioned-graphs.

vjsrinivas avatar vjsrinivas commented on June 18, 2024

Ahh, I did not check if the file path was correct! It should be checkpoints/spatio-attentive-graphs-hicodet-e11.pt.
I ran it with the right name and was able to match the reported stats:
image

Also, is there a reason why the program doesn't just error out if the weight path doesn't exist?

from spatially-conditioned-graphs.

fredzzhang avatar fredzzhang commented on June 18, 2024

Glad it resolved your issue. When the given path is empty or non-existent, a randomly initialised model will be used. I guess I could add some warnings when the given path is not empty but incorrect. Will do that later.

Cheers,
Fred

from spatially-conditioned-graphs.

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.