add lr schedule utils · fpgaminer/diffusers@71289ba · GitHub
Skip to content

Commit 71289ba

Browse files
committed
add lr schedule utils
1 parent 0417baf commit 71289ba

3 files changed

Lines changed: 297 additions & 2 deletions

File tree

‎examples/train_unconditional.py‎

Lines changed: 5 additions & 2 deletions

‎src/diffusers/hub_utils.py‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# coding=utf-8
2+
# Copyright 2022 The HuggingFace Inc. team.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
117
import os
218
import shutil
319
from pathlib import Path

‎src/diffusers/optimization.py‎

Lines changed: 276 additions & 0 deletions

0 commit comments

Comments
 (0)