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

max() arg is an empty sequence #13

Open
hkd4321 opened this issue Oct 24, 2019 · 6 comments
Open

max() arg is an empty sequence #13

hkd4321 opened this issue Oct 24, 2019 · 6 comments

Comments

@hkd4321
Copy link

hkd4321 commented Oct 24, 2019

File "NetDissect-Lite-master/NetDissect-Lite-master/visualize/bargraph.py", line 111, in make_svg_bargraph
unitheight = float(barheight)/max(heights)

ValueError : max() arg is an empty sequence

I downloaded dataset and run the code but there is no heights value. Can you help me?

@emanuele-albini
Copy link

Same problem here. Does this mean that no explained unit was found?

@Vanellope0602
Copy link

I have the same problem. Have you solved it ?

@DhwaniMehta23
Copy link

I am having the same error..was anybody able to solve it?

@drishyamlabs
Copy link

Same error, any resolutions? Please guide us.

@DeathYmz
Copy link

I have the same problem. Has anyone solved it?

@DeathYmz
Copy link

DeathYmz commented Oct 19, 2020

well I found the most of score in tally.csv under 0.04 , so I change the threshold in (def bar_graph_svg) , Then I solved the problem.

and I found in setting.py the CATAGORIES = ["object", "part","scene","texture","color"] lack 'material', add this the problem also could be solved.

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

6 participants