ChildishChange
ChildishChange
> try this: https://deepctr-doc.readthedocs.io/en/latest/FAQ.html#set-learning-rate-and-use-earlystopping also failed, XP ```python # ImportError: cannot import name 'Adam' from 'tensorflow.python.keras.optimizers' (/root/miniconda3/envs/py3_tf2/lib/python3.8/site-packages/tensorflow/python/keras/optimizers.py) from tensorflow.python.keras.optimizers import Adam,Adagrad ```
个人观点:我觉得varlen类型的特征一开始不是为了给multihot用的,是为了给din处理序列信息的,只是它顺便还可以简单地代替multihot的功能
maybe you can try `build_raw_serving_input_receiver_fn` @psyyip https://stackoverflow.com/questions/55422537/testing-tf-serving-model-fails-with-bytes-as-strings-and-strings-as-bytes-confus
`saved_model_cli` maybe for py2 > The new bytes type is 3.x only. The 2.x bytes built-in is just an alias to the str type. > https://stackoverflow.com/questions/5901706/the-bytes-type-in-python-2-7-and-pep-358 I edit some code...