Coder Social home page Coder Social logo

Comments (5)

mitchellspryn avatar mitchellspryn commented on September 21, 2024

Do you see any actual model files in the /model/ directory? What is the full file path that is being passed to load_model() in your case? Does it point to a valid file?

from autonomousdrivingcookbook.

lyhbuaa avatar lyhbuaa commented on September 21, 2024

yes, thank you, there is a folder named models and a (.csv)file named training_log.csv in the model directory, and there are many .h5 files in the .../model/models directory.

And there is another detail, when i import the h5py, It gived me a future warning, so i reinstalled the numpy with 1.3.3 version, and the future warning disappeared, is there any possible this detail has caused the mistake to happen?

from autonomousdrivingcookbook.

mitchellspryn avatar mitchellspryn commented on September 21, 2024

Not sure about the numpy error, can you paste the full error?

I still don't know the answer to this:

What is the full file path that is being passed to load_model() in your case? Does it point to a valid file?

Also, since you're getting a PermissionsError, can you check the file permissions? Is it read-only? Did you create it as root/admin, and are now trying to access it as a regular user?

from autonomousdrivingcookbook.

lyhbuaa avatar lyhbuaa commented on September 21, 2024

thank you for your advise, I deleted the modes and runned the TrainModel.ipynb again, Now, the testModel.ipynb works, but I didn't figure out why the mistake happened, I think may be there is some wrong with the old models. @mitchellspryn

from autonomousdrivingcookbook.

vighnesh-balaji avatar vighnesh-balaji commented on September 21, 2024

The path that i have given to load_model() is MODEL_PATH = 'D:\AutonomousDrivingCookbook-master\AutonomousDrivingCookbook-master\AirSimE2EDeepLearning\model_model.10-0.0002810.h5/'
and I get the same error.

If I don't pass the exact model and just pass the models folder I get an error that says max() argument not found.

from autonomousdrivingcookbook.

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.