You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When use draw_net_to_file() from pyCaffe get error like "no field _values". After debugging i found that there are "if" statements around line 107 in draw.py like
But this fields are not lists (for pooling layer), and here is error arise.
Small fix make it works fine: just remove "if" and pass params values directly. I can't find where is draw funtions were broken, but it may be connected with protobuf generation and "repeated" values in caffe.proto.
Issue summary
When use draw_net_to_file() from pyCaffe get error like "no field _values". After debugging i found that there are "if" statements around line 107 in draw.py like
But this fields are not lists (for pooling layer), and here is error arise.
Small fix make it works fine: just remove "if" and pass params values directly. I can't find where is draw funtions were broken, but it may be connected with protobuf generation and "repeated" values in caffe.proto.
Caffe: master at 793bd96
Steps to reproduce
Your system configuration
Operating system: Ubuntu 16.04.2
Compiler: gcc 5.4.0
CUDA version: release 7.5, V7.5.17
CUDNN version: 5.0.5
Python 2.7.12
libprotoc 2.6.1
The text was updated successfully, but these errors were encountered: