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

Fix typos #530

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/autotrain/trainers/dreambooth/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def train(config):

def save_model_hook(models, weights, output_dir):
# there are only two options here. Either are just the unet attn processor layers
# or there are the unet and text encoder atten layers
# or there are the unet and text encoder attn layers
unet_lora_layers_to_save = None
text_encoder_lora_layers_to_save = []

Expand Down
2 changes: 1 addition & 1 deletion src/autotrain/trainers/dreambooth/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __getitem__(self, index):
class DreamBoothDataset(Dataset):
"""
A dataset to prepare the instance and class images with the prompts for fine-tuning the model.
It pre-processes the images and the tokenizes prompts.
It pre-processes the images and tokenizes prompts.
"""

def __init__(self, config, tokenizers, encoder_hidden_states, instance_prompt_encoder_hidden_states):
Expand Down
2 changes: 1 addition & 1 deletion src/autotrain/trainers/image_classification/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

- Problem type: Image Classification

## Validation Metricsg
## Validation Metrics
{validation_metrics}
"""

Expand Down
Loading