nod-ai / SHARK-TestSuite

Temporary home of a test suite we are evaluating
Apache License 2.0
5 stars 35 forks source link

Revert "Fix download address for onnx models (#290)" #299

Closed AmosLewis closed 4 months ago

AmosLewis commented 4 months ago

This reverts commit f6341055bfc4e2cd0db406db0903f6a28fa2fa8a.

https://github.com/nod-ai/SHARK-TestSuite/pull/290

Then the upload/download/run can provide list like this style:

Upload a list of onnx model: python tools/aztestsetup.py -s /proj/ai_models/cnn/ipu_models/int8/vai_q_onnx// -m onnx/models/ResNet152_vaiq_int8/model.py -c huggingface_cache --setup --upload list_upload.txt

list_upload.txt :

DarkNet53_vaiq
dla169_vaiq

Download a list of onnx model: YOUR_AZ_KEY python tools/aztestsetup.py --cachedir /proj/gdba/shark/cache --download listrun.txt

listrun.txt :

onnx/models/DarkNet53_vaiq
onnx/models/dla169_vaiq

Run a list of onnx models: python ./run.py --tolerance 0.001 0.001 --cachedir /proj/gdba/shark/cache -f onnx -g models --mode onnx --report -j 24 --testsfile listrun.txt

listrun.txt :

onnx/models/DarkNet53_vaiq
onnx/models/dla169_vaiq