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

Should I additionally set end_factor to 1.04 in the command and set the variable self.ef_idx to 3 in class CLIPTextGenerator to reproduce image caption results? #12

Open
baiyuting opened this issue Dec 7, 2022 · 1 comment

Comments

@baiyuting
Copy link

in readme.md, to perform image caption, the command is
$ python run.py --reset_context_delta --caption_img_path "example_images/captions/COCO_val2014_000000097017.jpg"
however, in the paper, it said that the end_factor is 1.04 and time-step is 3.
To reproduce image caption results, should I additionally set end_factor to 1.04 in the command and set the variable self.ef_idx to 3 in class CLIPTextGenerator?

@shams2023
Copy link

in readme.md, to perform image caption, the command is however, in the paper, it said that the end_factor is 1.04 and time-step is 3. To reproduce image caption results, should I additionally set end_factor to 1.04 in the command and set the variable self.ef_idx to 3 in class CLIPTextGenerator?$ python run.py --reset_context_delta --caption_img_path "example_images/captions/COCO_val2014_000000097017.jpg"

请问你成功的运行了吗?

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