yu4u / convnet-drawer

Python script for illustrating Convolutional Neural Networks (CNN) using Keras-like model definitions
MIT License
596 stars 98 forks source link

Run error #4

Open YuhaoYeSteve opened 6 years ago

YuhaoYeSteve commented 6 years ago

Hi, I follow every step of the instruction, however, does not work, anyone can help me, thank you!

Traceback (most recent call last): File "D:/lyceum/plot_CNN_architecture/CNN_archi.py", line 23, in save_model_to_pptx(model, "1.pptx") File "D:\lyceum\plot_CNN_architecture\pptx_util.py", line 63, in save_model_to_pptx presentation.add_line(obj.x1, obj.y1, obj.x2, obj.y2, obj.color, obj.width, obj.dasharray) File "D:\lyceum\plot_CNN_architecture\pptx_util.py", line 29, in add_line connector.ln = connector.get_or_add_ln() AttributeError: can't set attribute

yu4u commented 6 years ago

Thank you for your report. This problem occurred for python-pptx >= 0.6.12. I fixed the issue, so please update this project and try again.

YuhaoYeSteve commented 6 years ago

It is working now. Thanks a lot!