Skip to content

Conversation

@zanetti33
Copy link
Owner

No description provided.

Stefano-Salvatori and others added 18 commits November 6, 2022 17:59
Refactored dataset classes (now in dataset.py)

Implemented a CustomViltModel that can handle single texts and images in input

Refactoring of train.py
The test_retrieval.py script can be used to test the txt2img and img2txt performance of the model

Minor Fixes:
- Used long intgeres to handle study ids
- vilt_processor is now correctly istantiated with max text length of max_position_embeddings
-
Used torch.no_grad() to avoid computing gradients at each iteration
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.

2 participants