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

add train module and data preparation module #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

amirhossein-yousefi
Copy link

In this project, I did the following:

  1. Adding modules for data preparation for training and writing custom PyTorch dataset class for the CMPFacade dataset so as to iterate through the data efficiently and cleanly.
  2. Adding a train module so you can train this model on any custom dataset.
  3. In the train module I used gradient accumulation as a feature of PyTorch to train the model instead of explicit batch size. It is great when you don't have a powerful GPU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant