You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
大佬您好,密度图densityMap.py生成shanghaitechA和QNRF都存在问题,不知道您那边跑通的程序是这个吗?
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
return open(file_like, mode), True
IsADirectoryError: [Errno 21] Is a directory: '/opt/data/private/card1/ZSL/CCTrans/data/shanghaitech/part_A_final'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/data/private/card1/ZSL/CCTrans/vis.py", line 133, in
pred_map, gt_dmap, gt_count = vis(args)
File "/opt/data/private/card1/ZSL/CCTrans/vis.py", line 47, in vis
mat = io.loadmat(image_path.replace('.jpg', '.mat').replace('images', 'ground_truth').replace("IMG", "GT_IMG"))
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 224, in loadmat
with _open_file_context(file_name, appendmat) as f:
File "/root/anaconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context
f, opened = _open_file(file_like, appendmat, mode)
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: '/opt/data/private/card1/ZSL/CCTrans/data/shanghaitech/part_A_final.mat'
The text was updated successfully, but these errors were encountered:
大佬您好,密度图densityMap.py生成shanghaitechA和QNRF都存在问题,不知道您那边跑通的程序是这个吗?
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
return open(file_like, mode), True
IsADirectoryError: [Errno 21] Is a directory: '/opt/data/private/card1/ZSL/CCTrans/data/shanghaitech/part_A_final'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/data/private/card1/ZSL/CCTrans/vis.py", line 133, in
pred_map, gt_dmap, gt_count = vis(args)
File "/opt/data/private/card1/ZSL/CCTrans/vis.py", line 47, in vis
mat = io.loadmat(image_path.replace('.jpg', '.mat').replace('images', 'ground_truth').replace("IMG", "GT_IMG"))
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 224, in loadmat
with _open_file_context(file_name, appendmat) as f:
File "/root/anaconda3/lib/python3.9/contextlib.py", line 119, in enter
return next(self.gen)
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context
f, opened = _open_file(file_like, appendmat, mode)
File "/root/anaconda3/lib/python3.9/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: '/opt/data/private/card1/ZSL/CCTrans/data/shanghaitech/part_A_final.mat'
The text was updated successfully, but these errors were encountered: