This tutorial is aimed at those who don’t want to have the program fetch a model when it is not already downloaded.
Beginning with version 1.7.0 of VEAI there are many different models the program can use. So far they are forward-compatible, and newer versions than 1.7.0 can use models from 1.7.0 and later. It is possible to download all, or specific, models and store them.
There are currently 4 variants for the models for different GPU types, and the files have the following endings/extensions:
-ov.tz (openvino)
-ml.tz (coreml)
fp32 -ox.tz (onnx)
fp16 -ox.tz (onnx16)
Find your models folder; if you don’t know where to look, open the program and choose Help/Open Log Folder. Go up one level and you should see the models folder. Look at the files in that folder, and you will see which GPU type VEAI is picking for you - all of the files for 288x288 will be there in 1x, 2x, and 4x versions, plus any already downloaded. For me it is fp16 -ox.tz Also in that folder will be files with a .json extension, which tells the program what models to use.
There are 9 HxW variants of each file, and three size versions, except for thf which has only single unsized version. The HeightxWidth list is:
256x352
288x288 (you shouldn’t need to download this one since it comes with the installer)
384x480
480x384
384x672
448x576
576x384
576x416
576x672
At this writing there are ddv, dtd, dtv, aaa, alq, amq, ahq, thf, thd, ghq, and gcg models. (edited January 2021)
Basically you can use the 288x288 files to build a list of all files, repeating file names with the other sizes, plus addding the URL. Here are examples from mine:
http://veai-models.topazlabs.com/alq-v10-gnet-fp16-576x384-1x-ox.tz
http://veai-models.topazlabs.com/alq-v10-fnet-fp16-576x384-1x-ox.tz
http://veai-models.topazlabs.com/ddv-v1-gnet-fp16-384x480-4x-ox.tz
http://veai-models.topazlabs.com/ddv-v1-fnet-fp16-384x480-4x-ox.tz
I build the entire list in a text file.
For the download you can do them one-at-a-time or use a batch downloader. I use a program called jDownloader (free) and it will pull from the Windows clipboard, so just select the files to download and copy. I’m sure there are other batch downloaders available. If people have favorites please chime in. Either download directly to your models folder, or move them after download.
One important point: New VEAI installs will wipe out your models folder! Unless you want to download again and again, make a backup copy that you can copy back into the models folder. To put, for example, alq-v7 in along with alq-v8 just copy the models and also the artemis-lq-7.json file. When you do, both V7 and V8 will be choices in the program.
Let me know if this tutorial needs to be expanded or clarified.