CSAILVision / CSAILVision/NetDissect
ValueError: max() arg is an empty sequence
- Lingua principale
- Python
- Stelle
- 455
- Fork
- 114
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia da src/bargraph.py in make_svg_bargraph e dalla chiamata da src/report.py in generate_html_summary. Riproduci l’esecuzione di rundissect.sh con il modello addestrato e il dataset Broden, quindi traccia il motivo per cui heights è vuoto e il modo in cui viene gestita la directory html mancante. Il lavoro è completo quando l’esecuzione non solleva più questo ValueError e produce l’output HTML previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100