sjvasquez / handwriting-synthesis

Handwriting Synthesis with RNNs ✏️
4.27k stars 568 forks source link

Can not concatenate dict_values to list #20

Closed AliRaza1844 closed 5 years ago

AliRaza1844 commented 5 years ago

I am trying to train the model. I have prepared the data by running prepare_data.py. When I run the rnn.py I am getting the following error:

Traceback (most recent call last): File "rnn.py", line 235, in nn.fit() File "D:\Data\handwriting-synthesis-master\handwriting-synthesis-master\tf_base_model.py", line 163, in fit fetches=[self.loss] + self.metrics.values(), TypeError: can only concatenate list (not "dict_values") to list

Waiting for your reply. Thanks...

AliRaza1844 commented 5 years ago

If any body else have this issue just change self.metrics.values() to list(self.metrics.values()) in tf_base_model.py file at line 163.