Comments (8)
Could you show LS and LS-converter version you are using?
from label-studio-converter.
Im using the below docker version of LS.
docker run -it -p 8080:8080 -v
pwd/mydata:/label-studio/data heartexlabs/label-studio:latest
from label-studio-converter.
I'm having the same issue. Pascal VOC export is working fine, COCO gives me above error.
According to pip freeze
, these are the used versions:
label-studio==1.0.0.post3 label-studio-converter==0.0.26
I installed it under Windows, Python 3.8 using pip install -U label-studio
.
from label-studio-converter.
@dallidalli Could you try release/1.0.1 branch? I hope it's fixed there.
HumanSignal/label-studio#681
from label-studio-converter.
@makseq I tried to do so, but maybe it wasn't the right way. I tried the following:
- uninstall the current label-studio installation via
pip uninstall label-studio
- install the mentioned branch using
pip install git+https://github.com/heartexlabs/label-studio.git@release/1.0.1
The issue still persists, plus label-studio doesn't look so neat anymore, so I guess I did something wrong when trying the mentioned branch.
Anyways here is a more complete Traceback:
Traceback (most recent call last):
File "c:\users\dalli\desktop\python_labelling\venv\lib\site-packages\label_studio_converter\converter.py", line 374, in convert_to_coco
image_path = download(image_path, output_image_dir, project_dir=self.project_dir, return_relative_path=True)
File "c:\users\dalli\desktop\python_labelling\venv\lib\site-packages\label_studio_converter\utils.py", line 95, in download
upload_dir = _get_upload_dir(project_dir, upload_dir)
File "c:\users\dalli\desktop\python_labelling\venv\lib\site-packages\label_studio_converter\utils.py", line 86, in _get_upload_dir
raise FileNotFoundError("Can't find upload dir: either LS_UPLOAD_DIR or project should be passed to converter")
FileNotFoundError: Can't find upload dir: either LS_UPLOAD_DIR or project should be passed to converter
from label-studio-converter.
@dallidalli Could you please clone and install label-studio-converter from the master branch and check - is it working for you now?
https://github.com/heartexlabs/label-studio-converter
git clone https://github.com/heartexlabs/label-studio-converter.git
cd label-studio-converter
pip install -e .
from label-studio-converter.
@makseq thanks for providing the commands.
That did the trick, export to COCO works now. (Except (of course) for the warning during installation regarding an incompatible label-studio-converter version, as label-studio requires 0.0.26)
from label-studio-converter.
(Except (of course) for the warning during installation regarding an incompatible label-studio-converter version, as label-studio requires 0.0.26)
It's not a problem 🙂
Thank you very much for your help! I hope we can close this issue. Feel free to reopen if you have these problems again.
from label-studio-converter.
Related Issues (20)
- Export annotations into Oriented Box Bounding. HOT 2
- can you add labelme JSON for annotation format? HOT 1
- Export to Pascal VOC XML is not working. HOT 1
- Is it possible to convert texts containing relations annotated in Label Studio into a Spacy binary file format ?
- Export polygons as PNG mask
- Python directions in README are wrong HOT 1
- YOLO, COCO export error
- Are there any Plans to support Object Tracking formats?
- Export of OCR task into COCO and YOLO doesn't work HOT 2
- Export to YOLO format for Video Annotation Doesn't work.
- Export columns selection
- What is the correct way to convert bbox from label studio to LayoutLMv3Processor bbox format?
- Oriented Bounding Box HOT 1
- RectangleLabels : x,y values inconsistent HOT 1
- YOLO import to LS doesnt import labels HOT 2
- The iter_from_dir that uses`json.load` in method convert_to_voc does not open the json file.
- bug in "iter_from_json_file" method
- export to yolov8 format HOT 4
- CONLL Conversion drops NER labels from token classification
- How to make YOLO RAW tag output format be converted to pre-annotated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from label-studio-converter.