Open mlcoop opened 5 years ago
Thanks for reporting the issue @AssylCooper, when you used Docker with the same scenario you don't get an error ? Can you tell me which OS are you using when you get this error ? Also, the segmentation fault happens after you call the db.find_similar_images
or when you start EuclidesDB ?
HI @perone , EuclidesDB is deployed in Ubuntu 16.04 and segmentation fault happens when I relaunch EuclidesDB.
When I first launched EuclidesDB there were no errors. Then I started adding images, 48000 images in total.
After it was finished I tried to search for similar Images and got
status = StatusCode.UNAVAILABLE details = "Connect Failed" debug_error_string = "
It seems to happend when there is no available connections.
So I tried to restart EuclidesDB and got segmentation fault
Just to make sure: this is without Docker right ? In Docker it works fine ? Another question: did you made the tracing of the models with PyTorch 1.0.1 or other version ? Thanks for your reports !
@perone, this is without Docker, In docker it worked just fine. I actually copied model from docker and didn't add any other model. I use PyTorch 0.4.
@AssylCooper thanks, I'll look into it. Remember that the last EuclidesDB version (0.2.0) uses PyTorch 1.0.1, so when you trace a model, you need to use this version of PyTorch, but I'll improve the error handling soon. Also, take a look into Faiss, I found it much better then Annoy, so you might like it.
@perone Thank you for your work! I'll try to upgrade PyTorch. Regarding to faiss, I found some benchmarks here http://www.itu.dk/people/pagh/SSS/ann-benchmarks/glove-data10-1_glove-query_angular.html.
I have launched EuclidesDB on local machine. Have added 48042 items into annoy index. But then I can't get similar images using
db.find_similar_image(img, ["resnet18"], 7)
Because my EuclidesDB returns
I didnt't have this error while using docker run