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

Hey , I am trying to run your for for the Trans2seg paper, but continously getting this error #230

Open
abhibeats95 opened this issue Feb 1, 2023 · 0 comments

Comments

@abhibeats95
Copy link

W0131 23:54:32.007616 18309 gpu_resources.cc:217] WARNING: device: �. The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bugs. Please recompile or reinstall Paddle with compatible CUDNN version.
Traceback (most recent call last):
File "demo.py", line 98, in
pred = infer.ss_inference(
File "/content/drive/MyDrive/DotSquareLabs/PaddleViT/semantic_segmentation/demo/../src/api/infer.py", line 147, in ss_inference
logit = F.interpolate(logit, shape, mode='bilinear', align_corners=False)
File "/usr/local/lib/python3.8/dist-packages/paddle/nn/functional/common.py", line 498, in interpolate
out_shape = list(out_shape)
TypeError: 'int' object is not iterable

我已经使用了您提供的检查点
图片目录下只有一张图片
你能帮我解决一下吗,

我不懂中文,所以用翻译写给你,如有不妥之处请见谅。

如果您需要任何进一步的信息,请告诉我。

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