Comments (3)
it seems that your file path is different from mine. in this script, these files should be located at this filepath:
`
imgPath = 'D:\testALg\mask2json\mask2json\static\multi_objs_test.jpg'
maskPath = 'D:\\testALg\\mask2json\\mask2json\\static\\multi_objs_json\\label.png'
savePath = 'D:\\testALg\\mask2json\\mask2json\\static\\multi_objs_json\\1109\\'
yamlPath = 'D:\\testALg\\mask2json\\mask2json\\static\\multi_objs_json\\info.yaml'`
you should check whether you have this files
from mask2json.
hello,
i have all the files (i dowloaded your github zip)
i changed in E:\Mega\Alexandre\car_dataset\mask2json\test_scripts\mask2json.py lines 92 to 95 by :
imgPath = 'E:\\Mega\\Alexandre\\car_datase\\mask2json\\static\\multi_objs_test.jpg'
maskPath = 'E:\\Mega\\Alexandre\\car_datase\\mask2json\\static\\multi_objs_json\\label.png'
savePath = 'E:\\Mega\\Alexandre\\car_datase\\mask2json\\static\\multi_objs_json\\1109\\'
yamlPath = 'E:\\Mega\\Alexandre\\car_datase\\mask2json\\static\\multi_objs_json\\info.yaml'
and have this error :
λ python mask2json.py
Traceback (most recent call last):
File "mask2json.py", line 98, in
getMultiShapes.getMultiShapes(imgPath, maskPath, savePath) # without yaml
File "..\convertmask\utils\methods\getMultiShapes.py", line 233, in getMultiShapes
raise FileNotFoundError('mask/labeled image not found')
FileNotFoundError: mask/labeled image not found
from mask2json.
I tested on my pc it worked well...
I noticed that you install this repo by pip, but the version on pypi has not been updated for a long time. That may be the reason you cannot run this script. It is my fault ,sorry about that. To deal with this problem, you can git clone this repo, switch to the test branch and try again.
from mask2json.
Related Issues (17)
- multi objects HOT 2
- Image Binarization issue HOT 2
- json2mask.py module 'labelme.utils' has no attribute 'draw_label' HOT 1
- re-write and clean some codes
- json2mask has no output
- mask 2 json HOT 4
- are you available HOT 2
- Python version HOT 10
- test_imgAug Labels class0 HOT 5
- test_imgAug affedMask = cv2.warpAffine(mask, mat, (imgShape[1], imgShape[0])) HOT 3
- test_imgAug How to cycle catalog pictures HOT 3
- dependencies errors HOT 2
- test_imgAug There is a problem with data enhancement HOT 3
- Mask2json cannot recognize multiple labels HOT 5
- AttributeError: module 'matplotlib.cbook' has no attribute '_rename_parameter' HOT 4
- mask2json可以处理多标签吗? HOT 1
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 mask2json.