Open Coldplayplay opened 6 years ago
The problem is most likely due to a mismatch between the --ann_type raw
argument and the specified surfaces type in the json file (there is only the segment-annotations-manual
type there). Try running with --ann_type segment-annotations-manual
instead and let us know if that shows any errors.
@msavva I tried running with --ann_type segment-annotations-manual.
NODE_BASE_URL=http://localhost:8010 ./export-annotated-ply.js --id bunny --source my_data --ann_type segment-annotations-manual -n 1
Result is as below.
Configuration { fileCache: { size: 50 },
imageCache: { size: 200 },
imageQueue: { concurrency: 4 },
base_url: 'http://localhost:8010',
assets_url: 'file:///home/cbc/DL/sstk-master/ssc/../server/static' }
register ../server/static/data/my_data/my_data.json
Registered asset group: my_data
Got 2 assets
segmentsType is segment-annotations-manual
Proccessing bunny
skip_existing is false
fetching from http://localhost:8010/scans/segment-annotator-single?condition=manual&userId=username&taskMode=new&modelId=my_data.bunny
Loaded LightSpecs for 202 models
Error processing id bunny { err: 'Invalid json from http://localhost:8010/scans/segment-annotator-single?condition=manual&userId=username&taskMode=new&modelId=my_data.bunny',
url: 'http://localhost:8010/scans/segment-annotator-single?condition=manual&userId=username&taskMode=new&modelId=my_data.bunny',
res: null }
DONE
open the link http://localhost:8010/scans/segment-annotator-single?condition=manual&userId=username&taskMode=new&modelId=my_data.bunny
after annotating the .ply, I failed in exporting the annotated .ply as the instructions say in https://github.com/smartscenes/sstk/wiki/Semantic-Segmentation-Labeler
PS. I copied the example nyuv2.json and changed something. My complete my_data.json is as follows.
use ssc/export-annotated-plys.js
Errors are here:
I just wanna use this tool and really don't know about how to code with nodejs, having no solution, so hope for your suggestions. Best wishes. BC Chen