dqn = DQNAgent(model=model, nb_actions=nb_actions, memory=memory, nb_steps_warmup=10, target_model_update=1e-2, policy=policy)
TypeError: len is not well defined for symbolic Tensors. (activation_3/Identity:0) Please call `x.shape` rather than `len(x)` for shape information.
/usr/local/lib/python3.6/dist-packages/rl/agents/dqn.py in __init__(self, model, policy, test_policy, enable_double_dqn, enable_dueling_network, dueling_type, *args, **kwargs)
106
107 # Validate (important) input.
--> 108 if hasattr(model.output, '__len__') and len(model.output) > 1:
109 raise ValueError('Model "{}" has more than one output. DQN expects a model that has a single output.'.format(model))
110 if model.output._keras_shape != (None, self.nb_actions):
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py in __len__(self)
739 raise TypeError("len is not well defined for symbolic Tensors. ({}) "
740 "Please call `x.shape` rather than `len(x)` for "
--> 741 "shape information.".format(self.name))
742
743 @staticmethod
TypeError: len is not well defined for symbolic Tensors. (activation_3/Identity:0) Please call `x.shape` rather than `len(x)` for shape information.
THẢO LUẬN
em cảm ơn anh rất nhiều ạ, mong anh sớm ra các bài viết tiếp theo a
mình thử rồi đâu thấy nó đổi sang địa chỉ website khác
@hiennghiem sao anh down vote em :-?
Khóa học về ngôn ngữ R dành cho người mới bắt đầu: https://www.facebook.com/abiz.edu.vn/posts/116883423062160
Phân biệt ngôn ngữ R và Python: R HAY PYTHON TỐT HƠN CHO KHOA HỌC DỮ LIỆU? (https://abiz.edu.vn/r-hay-python-tot-hon-cho-khoa-hoc-du-lieu/)
mà làm ở iphone chắc khó ,nhất là gõ ký hiệu như dấu <>()@ vvvvvvvvvvvvvvvvvvvvv
hay lắm thank bạn !
tau down vote à nha.
@HaiHaChan =))
Hợp lý


Thanks Mr.Tùng nhé, rất đơn giản và dễ hiểu !!
làm sai bét mà chỉ ai
Bị lỗi rồi anh. Ngày 11.11. Dòng này
Có vẻ là do dqn.py bị lỗi.
Full báo lỗi ở đây.
mình có thấy lỗi j đâu nhỉ?
Mình đang vướng chỗ này, mặc dù đã đổi authHost và chạy php artisan queue:work
like
Thanks pro hi
Ok để mình xem sét và cập nhập, cảm ơn bạn đã góp ý
Cài thủ công hoặc thông qua script, còn chứng chỉ SSL thì phải cài trên server chứ không tạo local sau đó sử dụng trên server được.
@motcaitenit38 mình dùng Azdigi Với các domain mình "Addon Domains" vào thì thay đổi thỏa mái nhưng domain chính thì phải yêu cầu kĩ thuật họ xử lý.