Giter VIP home page Giter VIP logo

Comments (9)

adria-p avatar adria-p commented on July 28, 2024

Hi, thank you for raising this. The current dataset on GCP should have the correct shapes and amount of samples now. Could you check that that is the case? If you are using examples/run.py You will need to remove your local dataset copy to force a download (which is by default stored in /tmp/CLRS30)

from clrs.

smahdavi4 avatar smahdavi4 commented on July 28, 2024

Thanks for your reply. The issue seems to be still existing. I double-checked that and only 32 data points are loaded into the validation/test datasets (take the minimum algorithm for instance). The content of dataset_info.json also suggests that there are only 32 data points in the dataset.

from clrs.

adria-p avatar adria-p commented on July 28, 2024

Thank you for following up so quickly! It indeed was a bug that had gone under the radar. This should be fixed now + dataset has been re-generated. Could you take a look at this new version?

from clrs.

smahdavi4 avatar smahdavi4 commented on July 28, 2024

Yup, looks perfect. Thanks for the fix.

from clrs.

smahdavi4 avatar smahdavi4 commented on July 28, 2024

Just wanted to let you know that in your run.py, only one batch (=32) of test data (and validation data in each iteration) is being evaluated. Full batch leads to high GPU memory consumption for test data, and average over batches would not give accurate results (e.g., F1 metric for masks).

from clrs.

PetarV- avatar PetarV- commented on July 28, 2024

Hi Sadegh, thank you so much for spotting this!

Indeed, the example script needs to be patched, and we will do this shortly after the Easter holiday.

The issue you point out about properly aggregating batches at test time is very important, especially when datasets are manually generated, and we will make sure to address it! Although for the specific CLRS-30 dataset we generated, this would only really impact tasks with graph mask outputs (eg. segments-intersect); in all other mask output settings we do not need to go beyond 32 trajectories, and for types other than mask I think simple averaging across batches will be sufficient.

Lastly, thank you very much for your general interest in the library and all the great pointers you've had! We'd be delighted to add you to our paper's acknowledgements when it is ready for release :)

from clrs.

smahdavi4 avatar smahdavi4 commented on July 28, 2024

Thank you for the detailed explanation!

from clrs.

PetarV- avatar PetarV- commented on July 28, 2024

Hi Sadegh, the issue of evaluating/testing on multiple batches should now be resolved by #70.
Please let us know if any issues remain! :)

from clrs.

smahdavi4 avatar smahdavi4 commented on July 28, 2024

Great! Thanks for the fix :)

from clrs.

Related Issues (15)

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.