JdeRobot / JdeRobot/DeepLearningStudio

Problem .json

Open
#47 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
11
Forks
7
PR merge metrics
No merged PRs in 30d

Description

There are problems training with the .json. I get the error:
File "/home/vanejessi/DeepLearningStudio/Formula1-FollowLine/tensorflow/PilotNet/utils/processing.py", line 19, in parse_json
array_annotations_v.append(float(v))
ValueError: could not convert string to float: '"7.0",\n "w": "0.044"\n '

The .json file is:
[
{
"image_name": "0.png",
"v": "7.0",
"w": "0.044"
},
{
"image_name": "1.png",
"v": "7.0",
"w": "0.022"
},
{
"image_name": "2.png",
"v": "7.0",
"w": "0.022"
},
{
"image_name": "3.png",
"v": "7.0",
"w": "0.022"
},
...
]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.