diff --git a/test.sh b/test.sh index 3bf4a4d8..c34bbaf6 100755 --- a/test.sh +++ b/test.sh @@ -4,8 +4,8 @@ OUTPUT_FILE=$1 touch $OUTPUT_FILE -echo "| Name | Data Type | Input Shapes | torch2trt kwargs | Max Error | Throughput (PyTorch) | Throughput (TensorRT) | Latency (PyTorch) | Latency (TensorRT) |" >> $OUTPUT_FILE -echo "|------|-----------|--------------|------------------|-----------|----------------------|-----------------------|-------------------|--------------------|" >> $OUTPUT_FILE +echo "| Name | Data Type | Input Shapes | torch2trt kwargs | Max Error | PSNR | MSE | Throughput (PyTorch) | Throughput (TensorRT) | Latency (PyTorch) | Latency (TensorRT) |" >> $OUTPUT_FILE +echo "|------|-----------|--------------|------------------|-----------|------|-----|----------------------|-----------------------|-------------------|--------------------|" >> $OUTPUT_FILE python3 -m torch2trt.test -o $OUTPUT_FILE --name alexnet --include=torch2trt.tests.torchvision.classification python3 -m torch2trt.test -o $OUTPUT_FILE --name squeezenet1_0 --include=torch2trt.tests.torchvision.classification