Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yuxin212 opened this issue Sep 5, 2018 · 2 comments
Open

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

yuxin212 opened this issue Sep 5, 2018 · 2 comments

Comments

@yuxin212
Copy link

yuxin212 commented Sep 5, 2018

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
Copy link

were you able to solve this error?

@yuxin212
Copy link
Author

were you able to solve this error?

no, i didn't solve this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants