-
Notifications
You must be signed in to change notification settings - Fork 560
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
getting error while training, .solverstate #1347
Comments
Hi, make sure |
Thanks. I didn't know that. maybe it is a good idea to mention that in the docs. |
@beniz previous error was fixed, but when I want to use the trained service I get the following error when: request:
response:
How could I create a deploy file? |
Hi |
@fantes last problem has been resolved, and now I get another problem, the main api engine got killed whenever a large number of pics are added for indexing. I'm implementing similarity search by this link request:
response
logs
|
Hi, you need to iterate your image list and send batches. Your machine does not have enough RAM to hold them all at once. |
In your case, maybe make sure to link your |
another question: |
after restarting the dd engine, I get this error after adding new service:
I create the service with the following command:
|
I have to delete this two files every time. Is there any way to avoid that?
|
The error says it all, remove the |
I get a new error: request:
and killed the process |
Hard to tell... what sizes are the db and names.bin files ? Also, you've seem to have gotten the system to work earlier as shown on the UI ? |
It works ok for the first time. but if I restart the docker, that error is shown after calling search api. names.bin:
indexes:
|
By first time you mean it works right after indexing has completed, but not afterwards ? |
yes, when I restart the docker and create the service again, this error is occured. |
Could you post the exact list of API calls, from index creation to prediction after restart, typically for a single image please ? At minima, this would help reproduce without docker. |
create the service:
indexing:
build:
search (also it doesn't a result)
restart the docker:
create the service again (without template):
in this case that I train one picture, search is ok, and return nothing, becase
here is the request:
but if I do just the same steps as described above (in batches of 5), for about 400 picture, I get this error:
here is my python code for indexing:
|
OK, thanks, I'll investigate. However, have you tried the default settings, i.e. not modifying |
Also, I believe you may want to try to build the index once after your 400 images have passed. Aside from the current issue, for better results. |
It was ok with default parameters:
|
(A Markdown syntax reminder is available here: https://guides.github.com/features/mastering-markdown/)
Before creating a new issue, please make sure that:
If Ok, please give as many details as possible to help us solve the problem more efficiently.
Configuration
Your question / the problem you're facing:
When I want to train a simple classification (dog_cat example), I face the following error:
Error message (if any) / steps to reproduce the problem:
list of API calls:
as shown in the sample.
Server log output:
The text was updated successfully, but these errors were encountered: