"Checkpoint not found" Web Server
Opened this issue · 4 comments
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
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.
Hi @dekked !
"GoogleModel" is an alias of an existing checkpoint.
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 ?
The checkpoints should be available in the ~/.luminoth/checkpoints/
folder. Check that this is the case wherever you are running the web server.
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]: