Traceback (most recent call last):


 "main_predict.py", line 11, in <module>

from src.modeling.rnn.model.rnn import RNN


 "/home/ec2-user/workspace/user/predict_rnn_van/src/modeling/rnn/model/rnn.py", line 12, in <module>

import kerastuner as kt


 "/home/ec2-user/anaconda3/envs/tensorflow2_p36/lib/python3.6/site-packages/kerastuner/__init__.py", line 19, in <module>

from . import applications


 "/home/ec2-user/anaconda3/envs/tensorflow2_p36/lib/python3.6/site-packages/kerastuner/applications/__init__.py", line 19, in <module>

from .augment import HyperImageAugment


 "/home/ec2-user/anaconda3/envs/tensorflow2_p36/lib/python3.6/site-packages/kerastuner/applications/augment.py", line 34, in <module>

'rotate': preprocessing.RandomRotation,
AttributeError: module 'tensorflow.keras.layers.experimental.preprocessing' has no attribute 'RandomRotation'

Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 183, in _run_module_as_main

mod_name, mod_spec, code = _get_module_details(mod_name, _Error)


 "/usr/lib/python3.6/runpy.py", line 142, in _get_module_details

return _get_module_details(pkg_main_name, error)


 "/usr/lib/python3.6/runpy.py", line 109, in _get_module_details

__import__(pkg_name)


 "/home/xxx/.local/lib/python3.6/site-packages/dvc/__init__.py", line 72, in <module>

warnings.filterwarnings("ignore", message="numpy.dtype size changed")


 "/usr/lib/python3.6/warnings.py", line 131, in filterwarnings

import re


 "/usr/lib/python3.6/re.py", line 142, in <module>

class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
