lucav76 / carnd-capstone Goto Github PK
View Code? Open in Web Editor NEWThis project forked from udacity/carnd-capstone
Fork of the Udacity project to complete the System Integration task, for the "total-recall-dryvers"
This project forked from udacity/carnd-capstone
Fork of the Udacity project to complete the System Integration task, for the "total-recall-dryvers"
The vehicle stops after the line.
or sometimes it cross the red light
when it happens, the log looks like this.
ros_1 | Resize to (300, 300)
ros_1 | ('Boxes: ', array([[ 0. , 145.37561035, 84.40847778, 178.70265198],
ros_1 | [ 0. , 2.73541284, 79.72753906, 21.94922447]], dtype=float32))
ros_1 | ('Boxes Ascending: ', [array([ 0. , 2.73541284, 79.72753906, 21.94922447], dtype=float32), array([ 0. , 145.37561035, 84.40847778, 178.70265198], dtype=float32)])
ros_1 | Raw predictions: [[ 1.81863399e-10 3.07246239e-07 1.89774555e-15 9.99999642e-01
ros_1 | 5.03174995e-08 1.02036132e-07 1.94836357e-19 5.46941789e-12
ros_1 | 1.68915478e-12]]
ros_1 | +++ Accepting size:2772 - Prediction: Red
ros_1 | ('Timing: ', 144, 3)
ros_1 | [INFO] [1514514276.035685]: TL_DETECTOR: NNState: 0
ros_1 | Resize to (300, 300)
ros_1 | [INFO] [1514514276.193153]: TL_DETECTOR: NNState: -1
ros_1 | [INFO] [1514514276.193812]: TL_DETECTOR: Unknown State from classifier
ros_1 | Resize to (300, 300)
ros_1 | [INFO] [1514514276.353685]: TL_DETECTOR: NNState: -1
ros_1 | [INFO] [1514514276.353926]: TL_DETECTOR: Unknown State from classifier
ros_1 | Resize to (300, 300)
ros_1 | [INFO] [1514514276.513682]: TL_DETECTOR: NNState: -1
ros_1 | [INFO] [1514514276.513927]: TL_DETECTOR: Unknown State from classifier
ros_1 | Resize to (300, 300)
ros_1 | [INFO] [1514514276.673223]: TL_DETECTOR: NNState: -1
ros_1 | [INFO] [1514514276.673486]: TL_DETECTOR: Unknown State from classifier
ros_1 | Resize to (300, 300)
ros_1 | [INFO] [1514514276.831196]: TL_DETECTOR: NNState: -1
ros_1 | [INFO] [1514514276.831454]: TL_DETECTOR: Unknown State from classifier
ros_1 | Resize to (300, 300)
enum
which was added in Python 3.4 source: Python Official Doc.tl_detector
processenum
from ros/src/tl_detector/infer.pyI am surprised that I thought I was running Python 2 until now.
If it ran without an issue on my computer, it must be Python 3. I'm confused ๐
[WARNING: disk usage in log directory [/home/udacity/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.
Using TensorFlow backend.
Python: 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.4]
TensorFlow:1.3.0
Traceback (most recent call last):
File "/media/udacity/yousuf/carnd_cap_autogradr/submissions/951262/ros/src/tl_detector/tl_detector.py", line 9, in <module>
from light_classification.tl_classifier import TLClassifier
File "/media/udacity/yousuf/carnd_cap_autogradr/submissions/951262/ros/src/tl_detector/light_classification/tl_classifier.py", line 2, in <module>
from infer import LightDetectionAndClassification, Detection_Model
File "/media/udacity/yousuf/carnd_cap_autogradr/submissions/951262/ros/src/tl_detector/infer.py", line 25, in <module>
from enum import Enum
ImportError: No module named enum
[tl_detector-5] process has died [pid 16792, exit code 1, cmd
/media/udacity/yousuf/carnd_cap_autogradr/submissions/951262/ros/src/tl_detector/tl_detector.py __name:=tl_detector __log:=/home/udacity/.ros/log/d78fa4da-f57b-11e7-9e04-38d547191b51/tl_detector-5.log].
This should be our final step, but I will leave it anyway so we don't forget later.
The current repository currently contains many files that are not necessary.
[INFO] [1515609334.302657]: TL_DETECTOR: NNState: -1
[INFO] [1515609334.302897]: TL_DETECTOR: Unknown State from classifier
Resize to (300, 300)
[INFO] [1515609334.402097]: TL_DETECTOR: NNState: -1
[INFO] [1515609334.402459]: TL_DETECTOR: Unknown State from classifier
Resize to (300, 300)
[INFO] [1515609334.504098]: TL_DETECTOR: NNState: -1
[INFO] [1515609334.504333]: TL_DETECTOR: Unknown State from classifier
Resize to (300, 300)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.