Git Product home page Git Product logo

go-bot-drl's People

Contributors

maxbrenner-ai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

go-bot-drl's Issues

Error converting shape to a TensorShape: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Traceback (most recent call last):

File "", line 1, in
runfile('C:/Users/hp/Desktop/GOCA_DRL/OS/End To End/1.GO-Bot/train.py', wdir='C:/Users/hp/Desktop/GOCA_DRL/OS/End To End/1.GO-Bot')

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile
execfile(filename, namespace)

File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)

File "C:/Users/hp/Desktop/GOCA_DRL/OS/End To End/1.GO-Bot/train.py", line 70, in
dqn_agent = DQNAgent(state_tracker.get_state_size(), constants)

File "C:\Users\hp\Desktop\GOCA_DRL\OS\End To End\1.GO-Bot\dqn_agent.py", line 50, in init
self.beh_model = self._build_model()

File "C:\Users\hp\Desktop\GOCA_DRL\OS\End To End\1.GO-Bot\dqn_agent.py", line 66, in _build_model
model.add(Dense(self.hidden_size, input_dim=self.state_size, activation='relu'))

File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\sequential.py", line 162, in add
name=layer.name + '_input')

File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\input_layer.py", line 178, in Input
input_tensor=tensor)
File "C:\ProgramData\Anaconda3\lib\site-packages\keras\legacy\interfaces.py", line 91, in wrapper
return func(*args, **kwargs)

File "C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\input_layer.py", line 87, in init
name=self.name)

File "C:\ProgramData\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 541, in placeholder
x = tf.placeholder(dtype, shape=shape, name=name)

File "C:\Users\hp\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\ops\array_ops.py", line 1777, in placeholder
return gen_array_ops.placeholder(dtype=dtype, shape=shape, name=name)

File "C:\Users\hp\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\ops\gen_array_ops.py", line 5496, in placeholder
"Placeholder", dtype=dtype, shape=shape, name=name)

File "C:\Users\hp\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\op_def_library.py", line 725, in _apply_op_helper
attr_value.shape.CopyFrom(_MakeShape(value, key))

File "C:\Users\hp\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\op_def_library.py", line 201, in _MakeShape
raise TypeError("Error converting %s to a TensorShape: %s" % (arg_name, e))

The rewards and the avg success rate doesn't improve with 4k epochs

The configuration parameters are shown below:

Screenshot 2020-05-24 at 6 45 10 PM

I had modified the code to add-in TensorBoard support (v2.1.0) and trained in co-lab with GPU

stchau4work@7a4aaf7

However, from the chart, it looks like the agent is not able to get positive rewards and the average success rate is kept at zero all the time.

Screenshot 2020-05-24 at 6 43 14 PM

Could you kindly have a review and see if I am missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.