CertifaiAI / cdle-traininglabs

Certifai Training Labs Repository using Eclipse Deeplearning4j
https://certifai.ai/
Apache License 2.0
41 stars 70 forks source link

FaceRecognitionImage download Vgg model error #182

Closed cjj1120 closed 3 years ago

cjj1120 commented 3 years ago

Describe the bug Can't download the complete model. Return SSL exception error.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'src/main/java/ai/certifai/solution/facial_recognition/'
  2. Run 'FaceRecognitionImage.java'
  3. See error

Screenshots (Error) https://gist.github.com/cjj1120/417cc7368b671f386098c513d335f191

Desktop (please complete the following information):

github-actions[bot] commented 3 years ago

👋 @cjj1120 Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.

scotgopal commented 3 years ago

Hi there @cjj1120 . Thanks for raising this issue and I believe your issue is rather similar to this issue. I've experienced this problem in the past as well and upon probing, I realized that it was happening due to me having an unstable internet connection. The VGG model download process gets halted due to temporary loss of internet connection. The model itself is a big file so its a bummer that IntelliJ does not support download resuming.

One solution would be to directly download the model using your browser since most browsers today allow download resuming, there should be no more issue. Please refer to the guide here for the detailed steps. https://github.com/CertifaiAI/CertifAI-Knowledge-Base/wiki/Manually-Download-Pretrained-Model.

Alternatively, you can consider switching from WiFi to a wired connection (either LAN or USB Tethering should do) to avoid connection drops. Hope this helps. 😄

cjj1120 commented 3 years ago

Yap you are right, it works now, thank you! appreciate it!