2 Matching Annotations
- Mar 2023
-
www.semanticscholar.org www.semanticscholar.org
-
Pre-LN Transformerlayer
Q: Why does the layer norm come before the MHA / before the FFN in Pre-LN?
-
-
spinningup.openai.com spinningup.openai.com
-
Installing Spinning Up
Troubleshooting in March 2023 on an M2 Mac:
-
I could only get tensorflow 2 running on my M2 Mac, not tensorflow 1 like the setup.py file requires. To do so, I changed the dep from tensorflow to tensorflow-macos and removed the version constraint.
-
I also removed the version constraint for torch.
-
I then also had to change how tensorflow is imported e.g. in run.py:
import tensorflow.compat.v1 as tf tf.disable_v2_behavior()
By making these changes, I was able to successfully run the installtest.
-
-