packtpublishing / artificial-intelligence-for-robotics Goto Github PK
View Code? Open in Web Editor NEWArtificial Intelligence for Robotics, published by Packt
Artificial Intelligence for Robotics, published by Packt
I rewrote the reinforcement code to make it work and then save it as a pickle file as instructed. However, there is no further instruction how I should deploy the pickle file on the robot on the book. Can you please show me some hints or reference links for doing so?
Thanks
Tao
Hi, I couldn't find the book web page mentioned in section 2:
http://github.com/fgovers/ai_and_robots ...
thx
I was trying to compile chapter 4 code, I got the following error.
compiling CNN network...
Traceback (most recent call last):
File "trainTheCNN.py", line 127, in
cnNetwork = LeNet.build(width=128, height=128, depth=3, classes=2)
File "trainTheCNN.py", line 39, in build
input_shape=inputShape))
File "/usr/local/lib/python2.7/dist-packages/keras/engine/sequential.py", line 164, in add
layer(x)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/base_layer.py", line 414, in call
self.assert_input_compatibility(inputs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/base_layer.py", line 279, in assert_input_compatibility
K.is_keras_tensor(x)
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 470, in is_keras_tensor
if not is_tensor(x):
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 478, in is_tensor
return isinstance(x, tf_ops._TensorLike) or tf_ops.is_dense_tensor_like(x)
AttributeError: 'module' object has no attribute '_TensorLike'
But After I upgraded tensorflow, I got the following issue:
Using TensorFlow backend.
Illegal instruction
can you please help me?
Thank you
can I use any board running ubuntu with ros ,without ubiquity, connected to an arduino board instead of using raspberry pi?
thank you,
best regards,
joe
Dear Sir,
Can I use Google AIY Voice Kit on UP board instead of Raspberry pi 3?
Best regards,
Thank you
Dear Sir,
Can you please share the arduino files for a better follow up in your book?
thank you,
best regards,
Joe
Dear Sir,
I just followed all the hardware and software requirements , putting the robot all together as i buy was great but other components : how to connect Arduino Mega 2560 microcontroller and Pololu Micro Maestro Servo Controller x6? How to start the tests if everything is good. I have offline trained CNN for object detection so how we get the result back in to the robot .
Thanks ,
I labeled the image and get the xml file,convert it into csv file ,after this i don't know what to do next, in
your code, i don't know where the csv file are mentioned, could you plz help me and solve my problem
I have ordered the exact hardware and tried to following your path to create the same environment.
Could you share the ROS source/driver files? (e.g. ROS workspace)
Correct me if I'm wrong but it seems there is a typo in line 156 of the "armTrainingQlearn.py" and line 149 of the "armTrainingQlearn2.py" which causes the script to seem like it is learning but I do not think it is because fixing this "typo", thus
-changing: maxStat = thisStateQ
-to: maxState = thisStateQ
Causes the training to oscillate between just 2 and/ or sometimes 3 states out of the 27 states present in the Qmatrix.
Please help with a fix or at least share some more clarification as to why I am obtaining these results.
Thank you.
Hello, I find it quite confusing and would like some clarification if any, as to why we are accessing the Qmatrix using an undefined index in line 178 of the script (armTrainingQlearnIndexed.py).
Are we doing this to deliberately to throw the exception? Or could someone tell me what is happening here?
Because changing "statQ" (which isn't defined anywhere) to "stat" (which maybe the intended variable) causes the training to output very different results.
This really is giving me a head spin.
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.