Skip to content

Manually Download Pretrained Model

scot-certifai edited this page Mar 4, 2021 · 2 revisions

When will this solution may be helpful?

SSLException Error happens when there is a lost of connection between server and client. There is no way to resume a download in Intellij. Rerunning the whole file is still an option as a second attempt to try downloading the model again, but a much safer way would be to direct download the pretrained model using a browser.

Step-by-step Solution:

  1. Click on any of the following links listed at the bottom to start downloading the pretrained model that you require into your local machine.

  2. Once download completes, navigate to the 'models' folder based on your respective OS.

  • Ubuntu: /home/{user}/.deeplearning4j/models
  • Windows: C:/Users/{user}/.deeplearning4j/models

image

  1. Here, you should have a parent folder coherent to the model that you are downloading. Create one if you don't have it. Your parent folder should FOLLOW THE EXACT NAMING CONVENTION AS IN HERE! Eg: If you are using one of the models from the 'VGG16' family, you will need a folder named 'vgg16'.

image

  1. Open the relevant parent folder and paste your recently downloaded model here.

  2. If after pasting, you have two .zip files that the only difference is the '...-Copy' suffix, retain the one with the suffix and delete the other. After deleting, remove the '-Copy' suffix by modifying the current name of the file.

image

Links to all pretrained models

VGG16

VGG19

TINY YOLO

UNET

YOLO2

Clone this wiki locally