# How to export yolov5 pycharm .pt

**URL:** <https://discuss.roboflow.com/t/how-to-export-yolov5-pycharm-pt/1983>\
**Category:** 🤝  Community Help\
**Tags:** formats, convert, export\
**Created:** [April 20, 2023, 8:39pm UTC](https://discuss.roboflow.com/t/how-to-export-yolov5-pycharm-pt/1983 "2023-04-20T20:39:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/benjamin/32/1787_2.png) [@Benjamin](https://discuss.roboflow.com/u/Benjamin)\
**Post date:** [April 20, 2023, 8:39pm UTC](https://discuss.roboflow.com/t/how-to-export-yolov5-pycharm-pt/1983/1 "2023-04-20T20:39:47Z")

</div>

This category is for question related to accounts on [https://app.roboflow.com/](https://app.roboflow.com/)

Please share the following so we may better assist you:

1. Project type (Object detection, Classification, Polygon, etc.) Object detection
2. The operating system & browser you are using and their versions windows10
3. The screenshot of the error being triggered in your browser’s developer tools/console. Please copy/paste the url below to watch how to pull up your devtools

After training my model on roboflow I can only export it to yolov5 pycharm txt however I want it to .pt pycharm extension so I can use it. Please help.

---

<div class="post-metadata">

**Author:** ![Mohamed](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/mohamed/32/62_2.png) [@Mohamed](https://discuss.roboflow.com/u/Mohamed)\
**Post date:** [April 20, 2023, 9:03pm UTC](https://discuss.roboflow.com/t/how-to-export-yolov5-pycharm-pt/1983/2 "2023-04-20T21:03:03Z")

</div>

@Benjamin that would be the annotation files and images you are exporting.  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/2X/d/d9b88e6a2a40fc8605c41ba37fd99892eb01c488.png)

You can train your model and export weights afterward by following the YOLOv5 Object Detection training guide available here:

> **[GitHub - roboflow/notebooks: Set of Jupyter Notebooks linked to Roboflow blog...](https://github.com/roboflow/notebooks)**
>
> Set of Jupyter Notebooks linked to Roboflow blog posts and used in our YouTube videos. - GitHub - roboflow/notebooks: Set of Jupyter Notebooks linked to Roboflow blog posts and used in our YouTube ...

> **[Run YOLOv5 on Your Webcam](https://help.roboflow.com/run-yolov5-on-your-webcam)**
>
> Local Inference with YOLOv5 on a Webcam Clone the Ultralytics YOLOv5 Github repository to your computer and run detect.py after saving the model weights fr

Alternatively, you can upload weights from YOLOv5 to Roboflow for seamless deployment:

- [Upload Weights - Roboflow](https://docs.roboflow.com/upload-weights)

> **[Local Deploy](https://docs.roboflow.com/inference-2.0-beta/local-deploy)**
>
> The Roboflow Inference API can be deployed locally using docker, optimized for your target hardware.
