Closed DaShenZi721 closed 1 year ago
Hello! Thanks for offering this benchmark! However, when I use the following commands
PYTHONPATH="$(pwd)":"$PYTHON_PATH" python lra_benchmarks/listops/train.py \ --config=lra_benchmarks/listops/configs/transformer_base.py \ --model_dir=/tmp/listops \ --task_name=basic \ --data_dir=$HOME/lra_data/listops/
I got this message
Traceback (most recent call last): File "lra_benchmarks/listops/train.py", line 28, in <module> from flax.deprecated import nn ModuleNotFoundError: No module named 'flax.deprecated'
Is there any solutions?
This is my setting:
I try to replace from flax.deprecated import nn with from flax import nn, and it works!
@DaShenZi721 which python version did you use?
Hello! Thanks for offering this benchmark! However, when I use the following commands
I got this message
Is there any solutions?