CSAILVision / NetDissect

Network Dissection http://netdissect.csail.mit.edu for quantifying interpretability of deep CNNs.
MIT License
449 stars 115 forks source link

ValueError: max() arg is an empty sequence #17

Open yuxin212 opened 5 years ago

yuxin212 commented 5 years ago

Hi,

I tried your toolbox using my trained model and your broden dataset. I ran rundissect.sh, and I finally got this:

Traceback (most recent call last): File "src/report.py", line 425, in verbose=True) File "src/report.py", line 45, in generate_html_summary save=ed.filename('html/' + barfn)) File "/home/cc/NetDissect-release1/src/bargraph.py", line 106, in bar_graph_svg barheight, barwidth, show_labels, filename) File "/home/cc/NetDissect-release1/src/bargraph.py", line 110, in make_svg_bargraph unitheight = float(barheight) / max(heights) ValueError: max() arg is an empty sequence

Do you know how to fix this problem? Thank you. b.t.w. there is no html folder under NetDissect.

kathanvyas commented 5 years ago

were you able to solve this error?

yuxin212 commented 5 years ago

were you able to solve this error?

no, i didn't solve this error