Skip to content

Conversation

@bring-nirachornkul
Copy link

  1. Add folder : interhuman_processed for train.py
  2. Add text file : ignore_list.txt, train.txt.
  3. Config the model to train on market's GPU, like RTX 3090

for taining.py
Reduced batch size from 32 to 16

Note : the original batch size require GPU VRAM 27 GBs which is uncommon for most GPU in the market. Reducing the batch size to 16 is allowed RTX 3090  (24 GBs Ram) run on it.

You can change it to 32, in case you have more advance GPU.
Updated train.py to save only the latest checkpoint after each epoch using save_top_k=1, ensuring the previous checkpoint is deleted, and added a function to automatically resume from the latest checkpoint if available.
@bring-nirachornkul
Copy link
Author

Updated train.py to save only the latest checkpoint after each epoch using save_top_k=1, ensuring the previous checkpoint is deleted, and added a function to automatically resume from the latest checkpoint if available.

This program will generate 1D tensor from CLIP output
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