Lidar_AI_Solution
Lidar_AI_Solution copied to clipboard
How to export the SwinT model from BEVFusion?
I have trained camera+lidar based on SwinT, I have got a pth. How can I generate PTQ model or FP16 model?
I used the command "python qat/ptq.py --config=configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/configs.yaml --ckpt=model/swint/epoch_30.pth --calibrate_batch 300", the I got a error as follow:
2024-08-02 09:16:14,038 - mmdet - INFO - load checkpoint from http path: https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth
I0802 09:16:14.038485 139857851803456 logging.py:101] load checkpoint from http path: https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_tiny_patch4_window7_224.pth
load checkpoint from local path: model/swint/epoch_30.pth
Traceback (most recent call last):
File "qat/ptq.py", line 150, in
How can I fix the problem?