Skip to content

Commit

Permalink
Add ray patch script for incorrect hardcoded float32 values. Temporar…
Browse files Browse the repository at this point in the history
  • Loading branch information
internetcoffeephone committed Apr 14, 2020
1 parent f6abd4b commit 3f6b8a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ray_uint8_patch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sed -i '110s/tf.float32/tf.uint8/' venv/lib/python3.6/site-packages/ray/rllib/policy/dynamic_tf_policy.py
sed -i '76s/np.float32/np.uint8/' venv/lib/python3.6/site-packages/ray/rllib/models/preprocessors.py

0 comments on commit 3f6b8a5

Please sign in to comment.