Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

How to convert my yolov5s.pt to yolov5s.ptl #206

Open
Razamalik4497 opened this issue Mar 25, 2023 · 1 comment
Open

How to convert my yolov5s.pt to yolov5s.ptl #206

Razamalik4497 opened this issue Mar 25, 2023 · 1 comment

Comments

@Razamalik4497
Copy link

Area Select

react-native-pytorch-core (core package)

Description

I have seen there is an export script https://playtorch.dev/docs/tutorials/prepare-custom-model/ for mobilenet, but I have trained yolov5s.pt how to export it for playtorch in yolov5s.ptl format.

@smreo3839
Copy link

smreo3839 commented May 6, 2023

I have this problem, too
https://github.com/ultralytics/yolov5/blob/master/export.py
Export to yolov5.ptl option not found in yolov5
Therefore, it seems that an error occurs when loading the model with torch.jit._loadForMobile(filePath)
Do you have a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants