htcr / sam_road

Segment Anything Model for large-scale, vectorized road network extraction from aerial imagery. CVPRW 2024
https://arxiv.org/pdf/2403.16051.pdf
MIT License
199 stars 31 forks source link

执行eval_schedule.bash报错 #46

Open hhd161 opened 2 months ago

hhd161 commented 2 months ago

我执行了eval_schedule.bash但是出现以下报错: D:\Anaconda\envs\DL\lib\site-packages\numpy\core\fromnumeric.py:3504: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, D:\Anaconda\envs\DL\lib\site-packages\numpy\core_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount) APLS nan Namespace(graph_gt='', graph_prop='', output='', matching_threshold=0.0001, topo_interval=5e-05, savedir='save/cityscale_toponet_no_itsc') Traceback (most recent call last): File "D:\Pycharm\Py_Project\sam_road-main\cityscale_metrics\topo\main.py", line 53, in map2 = pickle.load(open(graph_prop, "rb")) FileNotFoundError: [Errno 2] No such file or directory: '../save/cityscale_toponet_no_itsc/graph/8.p' D:\Anaconda\envs\DL\lib\site-packages\numpy\core\fromnumeric.py:3504: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, D:\Anaconda\envs\DL\lib\site-packages\numpy\core_methods.py:129: RuntimeWarning: invalid value encountered in scalar divide ret = ret.dtype.type(ret / rcount) TOPO nan Precision nan Recall nan 请问如何解决这个问题,如果能得到您的回复,我将不胜感激!

pip-list commented 2 months ago

I am also encountering this problem. Could you please provide some assistance? Thank you.

hhd161 commented 1 month ago

I am also encountering this problem. Could you please provide some assistance? Thank you.

你解决这个问题了吗

yureiime commented 1 month ago

I also encountered the same problem. All the metrics would return nan.

hhd161 commented 2 weeks ago

topo评价那块弄出来了吗?我只调通了APLS那块。

---原始邮件--- 发件人: @.> 发送时间: 2025年5月6日(周二) 下午2:50 收件人: @.>; 抄送: @.**@.>; 主题: Re: [htcr/sam_road] 执行eval_schedule.bash报错 (Issue #46)

yureiime left a comment (htcr/sam_road#46)

I also encountered the same problem. All the metrics would return nan.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>