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

Great work,How to fintune #5

Open
zhangbaijin opened this issue Jan 4, 2024 · 1 comment
Open

Great work,How to fintune #5

zhangbaijin opened this issue Jan 4, 2024 · 1 comment

Comments

@zhangbaijin
Copy link

Thanks for your contribution, it is a great work, how to fintune my dataset? like mural dataset, can you give the command or script?

@PhyscalX
Copy link
Collaborator

PhyscalX commented Jan 4, 2024

Hi, @zhangbaijin

To train TAP models, you should implement the following components:

  • tokenize_anything/config/... (YAML Configuration System)
  • tokenize_anything/data/... (data loader, transforms)
  • tokenize_anything/engine/train_engine.py (train loop, optimizer, LR scheduler, mixed precision and DDP wrapper)
  • tokenize_anything/models/<my_model>.py (custom TAP builder, losses/targets getter and forward impl. for training)
  • scripts/train.py (argument parser, DDP initialization and dispatcher for your train engine)

You can follow detectron2 to complete the above components.
Currently, we have no plan to release the full code.

@PhyscalX PhyscalX pinned this issue Jan 4, 2024
@PhyscalX PhyscalX unpinned this issue Apr 16, 2024
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

No branches or pull requests

2 participants