We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Traceback (most recent call last): File "E:\oyh\ER-NeRF-main\data_utils\face_parsing\test.py", line 98, in evaluate(respth=args.respath, dspth=args.imgpath, cp=args.modelpath) File "E:\oyh\ER-NeRF-main\data_utils\face_parsing\test.py", line 62, in evaluate net.load_state_dict(torch.load(cp)) File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 699, in load with _open_file_like(f, 'rb') as opened_file: File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 211, in init super(open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'data_utils/face_parsing/79999_iter.pth' [INFO] ===== extracted semantics ===== [INFO] ===== extract background image from E:/oyh/ER-NeRF-main/data/xuniren\ori_imgs ===== 0%| | 0/95 [00:00<?, ?it/s][ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread('E:/oyh/ER-NeRF-main/data/xuniren\parsing\0.png'): can't open/read file: check file path/integrity 0%| | 0/95 [00:00<?, ?it/s] Traceback (most recent call last): File "E:\oyh\ER-NeRF-main\data_utils\process.py", line 388, in extract_background(base_dir, ori_imgs_dir) File "E:\oyh\ER-NeRF-main\data_utils\process.py", line 84, in extract_background bg = (parse_img[..., 0] == 255) & (parse_img[..., 1] == 255) & (parse_img[..., 2] == 255) TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题,请问你解决了吗
Sorry, something went wrong.
No branches or pull requests
Traceback (most recent call last):
File "E:\oyh\ER-NeRF-main\data_utils\face_parsing\test.py", line 98, in
evaluate(respth=args.respath, dspth=args.imgpath, cp=args.modelpath)
File "E:\oyh\ER-NeRF-main\data_utils\face_parsing\test.py", line 62, in evaluate
net.load_state_dict(torch.load(cp))
File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "E:\oyh\Anaconda\envs\nerfstream\lib\site-packages\torch\serialization.py", line 211, in init
super(open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'data_utils/face_parsing/79999_iter.pth'
[INFO] ===== extracted semantics =====
[INFO] ===== extract background image from E:/oyh/ER-NeRF-main/data/xuniren\ori_imgs =====
0%| | 0/95 [00:00<?, ?it/s][ WARN:[email protected]] global loadsave.cpp:241 cv::findDecoder imread('E:/oyh/ER-NeRF-main/data/xuniren\parsing\0.png'): can't open/read file: check file path/integrity
0%| | 0/95 [00:00<?, ?it/s]
Traceback (most recent call last):
File "E:\oyh\ER-NeRF-main\data_utils\process.py", line 388, in
extract_background(base_dir, ori_imgs_dir)
File "E:\oyh\ER-NeRF-main\data_utils\process.py", line 84, in extract_background
bg = (parse_img[..., 0] == 255) & (parse_img[..., 1] == 255) & (parse_img[..., 2] == 255)
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: