- there are 3 tasks in this URL I want the solution for Tasks in this link, please.
- Add the tokenize to your class CaptionDataset(Dataset) object so that the getitem function will return the image and tokenized text data.
- Think about how you encoded the captions, and finish the forward function implementation.
- Make image captioning with the model you trained, by taking the inputs from the validation dataset, you should create the sample function to make predictions.
URL below
https://colab.research.google.com/drive/1KMgXxShm4jUiAQC-rRoDYQBfR1sIPpWj?usp=sharing
- I have tried to solve it but the code is not working
New contributor
Yasir Taha is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1