ethereon / netscope

Neural network visualizer
http://ethereon.github.io/netscope
944 stars 322 forks source link

Parsing repeated fields #1

Closed xiaoyong closed 8 years ago

xiaoyong commented 8 years ago

Hello @ethereon,

For repeated fields in a prototxt file, we may put the values between a pair of bracket, e.g. mean_value: [128, 128, 128]. When trying to visualize it, I got an error:

Error Encountered Line 22, Column 17: Expected "'", "\"", "{", key or number but "[" found.

Is it possible to add support for this syntax? Thanks!

ethereon commented 8 years ago

Hi @xiaoyong,

Thanks for reporting this. I've pushed an updated parser that should resolve this issue.

xiaoyong commented 8 years ago

Great! Thanks!