Skip to content
New issue

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

使用变化检测模型CDNet进行解译时报错 #83

Open
mj-moose opened this issue Oct 24, 2023 · 0 comments
Open

使用变化检测模型CDNet进行解译时报错 #83

mj-moose opened this issue Oct 24, 2023 · 0 comments

Comments

@mj-moose
Copy link

基于paddlers训练的CDNet模型导出至Geoview后进行解译,报错内容如下:

File "D:\GeoView-release-0.1.1\backend\applications\interface\change_detection1.py", line 57, in
execute(model_path, data_path, out_dir, window_size=256, stride=128)
File "D:\GeoView-release-0.1.1\backend\applications\interface\change_detection1.py", line 25, in execute
predictor.slider_predict(
File "d:\geoview\paddlers\paddlers\deploy\predictor.py", line 336, in slider_predict
slider_predict(
File "d:\geoview\paddlers\paddlers\tasks\utils\slider_predict.py", line 512, in slider_predict
batch_out = predict_func(batch_data, transforms=transforms)
File "d:\geoview\paddlers\paddlers\deploy\predictor.py", line 281, in predict
results = self._run(images=images, topk=topk, transforms=transforms)
File "d:\geoview\paddlers\paddlers\deploy\predictor.py", line 226, in _run
net_outputs = self.raw_predict(preprocessed_input)
File "d:\geoview\paddlers\paddlers\deploy\predictor.py", line 210, in raw_predict
self.predictor.run()
ValueError: In user code:
........
InvalidArgumentError: index should less than output tensor height * output tensor width. Expected 4 < 4, but got 4 >= 4. Please check input value.
[Hint: Expected index < output_feasize, but received index:4 >= output_feasize:4.] (at ..\paddle\phi\kernels\cpu\unpool_kernel.cc:65)
[operator < unpool > #error]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant