Giter Site home page Giter Site logo

Comments (5)

darwinharianto avatar darwinharianto commented on May 29, 2024 1

Hi, I was having the same problem

ModuleNotFoundError: No module named 'main_eval'

this just means you have to export PYTHONPATH=. if you are at root

FileNotFoundError: [Errno 2] No such file or directory: '/mnt/imagenet/validation'

this is the dataset location, I believe you have to download the dataset first and change this path

from ml-cvnets.

mchorton avatar mchorton commented on May 29, 2024 1

I assumed that downloading imagenet would have been a solution, I just wished a lighter way to test the model without all the imagenet infrastructure (maybe it is possible through the get_model function in the code?

This would be really helpful for future testing!

@zangobot you can see an example of how to load the model without downloading imagenet here: tests/models/classification/test_byteformer.py

you will need to modify the file a bit to load the pretrained weights, but that shows you an example of how to build the model

from ml-cvnets.

zangobot avatar zangobot commented on May 29, 2024

I assumed that downloading imagenet would have been a solution, I just wished a lighter way to test the model without all the imagenet infrastructure (maybe it is possible through the get_model function in the code?

This would be really helpful for future testing!

from ml-cvnets.

darwinharianto avatar darwinharianto commented on May 29, 2024

I copied some part of the script to run sample on few segmentation models here.
hope it can help

or

#69 (comment)
here someone make a simple script to load and save model

from ml-cvnets.

zangobot avatar zangobot commented on May 29, 2024

Thank you so much!
I will try this soon!

from ml-cvnets.

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.