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

关于multimodalVideotag的问题 #678

Open
flowerhai opened this issue Feb 1, 2024 · 3 comments
Open

关于multimodalVideotag的问题 #678

flowerhai opened this issue Feb 1, 2024 · 3 comments
Assignees

Comments

@flowerhai
Copy link

新手,调试了一下午,跟着教程走的,先是遇到In PaddlePaddle 2.x, we turn on dynamic graph mode by default, and 'data()' is only supported in static graph mode. So if you want to use this api, please call 'paddle.enable_static()' before this api to enter static graph mode.解决之后又出现维度的问题,product = paddle.add(x=product, y=attn_bias)在这里, Broadcast dimension mismatch. Operands could not be broadcast together with the shape of X = [5, 12, 1, 1] and the shape of Y = [5, 12, 5]. Received [12] in X is not equal to [5] in Y at i:1.reshape之后又lstm_forward_fc = static.nn.fc(x=video_input_tensor,
size=self.lstm_size_img * 4,
activation=None,
bias_attr=False) 出现The input tensor X's dimensions of MulOp should be larger than x_num_col_dims. But received X's dimensions = 1, X's shape = [2048], x_num_col_dims = 1.请问是哪里的问题,该如何解决呢

@flowerhai flowerhai changed the title 关于Videotag的问题 关于multimodalVideotag的问题 Feb 1, 2024
@westfish
Copy link
Collaborator

westfish commented Feb 2, 2024

用的是什么版本的paddle呢,可以降级paddle版本或尝试使用paddle 2.0试试看,最新版本可能没有兼容。另外,如果有图像、视频理解和生成的需求,可以使用我们新的跨模态工具: https://github.com/PaddlePaddle/PaddleMIX/tree/develop

@flowerhai
Copy link
Author

用的是什么版本的paddle呢,可以降级paddle版本或尝试使用paddle 2.0试试看,最新版本可能没有兼容。另外,如果有图像、视频理解和生成的需求,可以使用我们新的跨模态工具: https://github.com/PaddlePaddle/PaddleMIX/tree/develop

您好,我试了2.2和2.0以及1.x版本,皆有问题,无法正常运行,有些费解

@jerrywgz jerrywgz assigned westfish and unassigned jerrywgz Feb 28, 2024
@westfish
Copy link
Collaborator

westfish commented Mar 5, 2024

MutimodalVideoTag这个项目已经长时间没有更新了,该项目主要是基于老版本paddle2.0版本开发,一些相关依赖可能也要降级到相应的老版本

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

3 participants