ALRhub / deep_rl_for_swarms

86 stars 29 forks source link

Some errors when running this project #2

Open Aaricis opened 5 years ago

Aaricis commented 5 years ago

I recently ran a model and when I ran it I received this warning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. " "This may consume a large amount of memory. I think this is caused by TensorFlow, and how can I identify it and fix it?

maxhuettenrauch commented 5 years ago

This is happening due the use of the gather and scatter function I suppose. It should still work as intended as it is just a warning and not an error.

Aaricis commented 5 years ago

Thanks a lot! I will try again.

Aaricis commented 5 years ago

Another question, what configurations do I need? My computer maybe is too weak to run this project.

Aaricis commented 5 years ago

I found this Warning which is caused by tf.gather_nd().I don't know how to fix this bug. How should I ignore this warning and keep code running?