Skip to content

Commit

Permalink
Merge pull request #278 from dlimeng/dev
Browse files Browse the repository at this point in the history
SolidUI GPT Fine Tune
  • Loading branch information
dlimeng authored Jan 27, 2024
2 parents d6cd31d + e2e4394 commit 00d96b5
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 239 deletions.
26 changes: 14 additions & 12 deletions diffusion/text_to_image/train_text_to_image_lora.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
"""Fine-tuning script for Stable Diffusion for text2image with support for LoRA."""

import argparse
Expand Down
Loading

0 comments on commit 00d96b5

Please sign in to comment.