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
rails g modle massage content:text lỗi đánh máy chăng ? rails g model message content:text
muốn đổi sang địa chỉ khác thì bạn chèn cái url qua thẻ a vào chỗ value của thẻ option ấy, option sẽ ở cấp nhỏ hơn so với optgroup
I get error is: "Class locale does not exist". Can you support for me?
hỏi rất hay đó chứ
https://medium.com/@igorandreev/how-to-code-with-ipad-pro-make-your-2019-year-of-mobile-development-e4e678daab77
thêm thằng này nữa
https://www.studiodaily.com/2018/08/review-qwerkywriter-s-mechanical-keyboard/
là ngon
(y)
cobol đâu phải lập trình web?????????????
@jonyu Iporn mặt định ko có virus nhé. cứ an tâm mà xài
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.