You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs show that in connects to workspace, finds the project and says my images are uploaded.
BUT, when I check the GUI I have no images in the annotate > Unassigned panel. More, using the CLI to check with roboflow project get my-project -w my-workspace there's nothing under "project":"unannotated"
Where it is very surprising is that if I open a python terminal (sourced with the same env !) and write line-by-line the preceeding code ... IT WORKS !!! Images appear instantly in annotate > Unassigned panel !
Bonus observation: When unannotated images are deleted from the GUI, the unannotated counter in the CLI is not reset...
Expected Behavior
When running my script images should appear in the GUI like when running line-by-line python code.
Version
1.1.37
The text was updated successfully, but these errors were encountered:
I wrote a second script in bash to use the Roboflow CLI and same problem appears....
I ended up finding that the error came from me ! I defined project_name = "my_project" instead of "my-project", but the project "my_project" has existed before and even if not listed in ws.projects() this is not raising any error :(.
I'll rename the issue for the real problem which is slightly related to #235 as it fails silently.
gpadiolleau
changed the title
Python API seems to fail to upload images
Python API upload fails silently is targeted project does not exist but was before
Aug 6, 2024
gpadiolleau
changed the title
Python API upload fails silently is targeted project does not exist but was before
Python API upload fails silently if targeted project does not exist but was before
Aug 6, 2024
Problem
Strange and buggy behavior with Python API when uploading images.
Steps to reproduce
I use Roboflow Python API to upload batches of images to be annotated.
I wrote a script that creates Roboflow client and uploads images, here's a simplified version:
Logs show that in connects to workspace, finds the project and says my images are uploaded.
BUT, when I check the GUI I have no images in the
annotate > Unassigned
panel. More, using the CLI to check withroboflow project get my-project -w my-workspace
there's nothing under"project":"unannotated"
Where it is very surprising is that if I open a python terminal (sourced with the same env !) and write line-by-line the preceeding code ... IT WORKS !!! Images appear instantly in
annotate > Unassigned
panel !Bonus observation: When unannotated images are deleted from the GUI, the unannotated counter in the CLI is not reset...
Expected Behavior
When running my script images should appear in the GUI like when running line-by-line python code.
Version
1.1.37
The text was updated successfully, but these errors were encountered: