CSAILVision / CSAILVision/NetDissect

ValueError: max() arg is an empty sequence

Open
#17 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
455
Forks
114
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.