PaddlePaddle / PaddleSeg

Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.
https://arxiv.org/abs/2101.06175
Apache License 2.0
8.69k stars 1.68k forks source link

RuntimeError: (NotFound) Operator nearest_interp_v2 does not have kernel for data_type[int]:data_layout[ANY_LAYOUT]:place[CPUPlace]:library_type[PLAIN]. #838

Closed ZhangXinNan closed 1 year ago

ZhangXinNan commented 3 years ago

RuntimeError: (NotFound) Operator nearest_interp_v2 does not have kernel for data_type[int]:data_layout[ANY_LAYOUT]:place[CPUPlace]:library_type[PLAIN]. [Hint: Expected kernel_iter != kernels.end(), but received kernel_iter == kernels.end().] (at /home/teamcity/work/ef54dc8a5b211854/paddle/fluid/imperative/prepared_operator.cc:118) [Hint: If you need C++ stacktraces for debugging, please set FLAGS_call_stack_level=2.] [operator < nearest_interp_v2 > error]

michaelowenliu commented 3 years ago

@ZhangXinNan Hi, could you please provide a more detailed log?

tvshow5727 commented 3 years ago

faced with the same problem

michaelowenliu commented 3 years ago

@tvshow5727 Hi, could you please put the error log?

tvshow5727 commented 3 years ago

cmd:

python3.5 predict.py --config ./configs/quick_start/bisenet_optic_disc_512x512_1k.yml  --model_path model/cityscapes/model.pdparams --image_path data/optic_disc_seg/JPEGImages/H0003.jpg  --save_dir output/result

------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/PaddleSeg" @.>; 发送时间: 2021年3月22日(星期一) 下午5:24 @.>; @.**@.>; 主题: Re: [PaddlePaddle/PaddleSeg] RuntimeError: (NotFound) Operator nearest_interp_v2 does not have kernel for data_type[int]:data_layout[ANY_LAYOUT]:place[CPUPlace]:library_type[PLAIN]. (#838)

@tvshow5727 Hi, could you please put the error log?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.