roboflow / roboflow-python

The official Roboflow Python package. Manage your datasets, models, and deployments. Roboflow has everything you need to build a computer vision application.
https://docs.roboflow.com/python
Apache License 2.0
272 stars 71 forks source link

Batches generated from python package are named `None` #263

Closed iurisilvio closed 1 month ago

iurisilvio commented 2 months ago

I published something using roboflow-python and the batch name was None.

image

import roboflow
rf = roboflow.Roboflow()
project = rf.workspace().project("PROJECT_ID")
project.upload(image_path="YOUR_IMAGE.jpg")
joaomarcoscrs commented 1 month ago

Not sure this is the best way. The upload_image at roboflowpy.py takes an dict as an argument, the best thing would be to refactor it to be more explicit of what's inside of it

https://github.com/roboflow/roboflow-python/pull/278