'After exporting yoloV5 model (.pt) to .pb, the .pb variables folder have only 1Kb, I think beacause of this the model cant be used

here one of the converted model is right (not 1Kb) and the other isnt right (1Kb)

I used this command to export my model

!python export.py --weights /content/drive/MyDrive/epoch4.pt --include pb 


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source