Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Checkpoint not found" Web Server #291

Open
SpeedyGonzalves opened this issue Aug 20, 2019 · 4 comments
Open

"Checkpoint not found" Web Server #291

SpeedyGonzalves opened this issue Aug 20, 2019 · 4 comments

Comments

@SpeedyGonzalves
Copy link

I made a model using Luminoth, and it works well. But now I have to use the model.
In local, i used a python script :
detector = Detector(checkpoint='GoogleModel')
result = detector.predict(image)

All work well ! But now I have to use it on a webpage, so I used WampServer to make it in local.
A php file call the python script, but I have the error "Checkpoint not found. Check remote repository? [y/N]:".

I think it's because all my checkpoints are in local, but i don't know how use them online.
I tought download Luminoth on the WampServer and import the checkpoint but I don't know how do that.

Thank you for your help

@dekked
Copy link
Member

dekked commented Aug 20, 2019

Hi @SpeedyGonzalves!

What is GoogleModel here? For this to work, either it must be a remote checkpoint hosted by Luminoth (it is not), or it must have been saved by you (so it would be local to your computer).

Please check the section on working with checkpoints in the doc. In particular, "Create a checkpoint" shows the command that you need to run in order to output a checkpoint from a config file.

@SpeedyGonzalves
Copy link
Author

Hi @dekked !

"GoogleModel" is an alias of an existing checkpoint.
checkpointlist

I succed when I used it in local, but this checkpoint are not available on the webserver.

Or maybe I just didn't understand what you tried to say ?

@dekked
Copy link
Member

dekked commented Aug 20, 2019

The checkpoints should be available in the ~/.luminoth/checkpoints/ folder. Check that this is the case wherever you are running the web server.

@SpeedyGonzalves
Copy link
Author

Same results, I put the .luminoth's folder at the root of my web server and also at the root of my project (just in case) but always the same error :
Checkpoint not found. Check remote repository? [y/N]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants