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

Segmentation fault when doing clip_model.encode_image #20

Open
lingzhiyxp opened this issue May 7, 2024 · 1 comment
Open

Segmentation fault when doing clip_model.encode_image #20

lingzhiyxp opened this issue May 7, 2024 · 1 comment

Comments

@lingzhiyxp
Copy link

Thanks for the amazing work. I am now trying to run the _train_adv_img_trans.py code and get an unexpected segmentation error. After locating the error location, I believe it is from the clip_model.encode_image() part.
Here is the detail of the error.
7651715061947_ pic

@sftsgly
Copy link

sftsgly commented Jul 10, 2024

can let this function instead forward_encoder_image in blip2?

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

2 participants