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

change: workstation #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

change: workstation #12

wants to merge 1 commit into from

Conversation

HangyuDemo
Copy link

I tried a lot of models, including BILP, GPT, CLIP, CLVP, but they all reported errors during operation. It took me a lot of time. Finally, I chose the git model, My optimizer is set to Optimizer = optim.SGD(model.parameters(), lr=0.005, momentum=0.9, weight_decay=1e-6, dampening=0, nesterov=True).

I also changed the database loading method to inputs = self.processor(images=img, text=caption, padding="max_length", return_tensors="pt"), attention_mask was added to encoding.

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

Successfully merging this pull request may close these issues.

1 participant