-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
made small fixes to files and run black and isort
- Loading branch information
Showing
129 changed files
with
7,494 additions
and
6,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
# I call it a 0.1.0 version | ||
import sys | ||
import os | ||
import sys | ||
|
||
sys.path.append(os.path.dirname(os.path.abspath(__file__))) | ||
|
||
__version__ = "0.1.0" | ||
|
||
from ._check import check | ||
from ._detect import detect | ||
from ._get_noise import get_noise | ||
from .utils import set_org, get_org | ||
|
||
from .modified_stable_diffusion import ModifiedStableDiffusionPipeline | ||
from .inverse_stable_diffusion import InversableStableDiffusionPipeline | ||
|
||
from .optim_utils import * | ||
from .io_utils import * | ||
|
||
# To run run_tree_watermarking scripts: | ||
from .open_clip import create_model, create_model_and_transforms, create_model_from_pretrained, get_tokenizer, create_loss | ||
from .pytorch_fid.fid_score import * | ||
from .guided_diffusion.script_util import ( | ||
NUM_CLASSES, | ||
model_and_diffusion_defaults, | ||
create_model_and_diffusion, | ||
add_dict_to_argparser, | ||
args_to_dict, | ||
) | ||
create_model_and_diffusion, | ||
model_and_diffusion_defaults, | ||
) | ||
from .inverse_stable_diffusion import InversableStableDiffusionPipeline | ||
from .io_utils import * | ||
from .modified_stable_diffusion import ModifiedStableDiffusionPipeline | ||
|
||
# To run metr scripts: | ||
from .open_clip import ( | ||
create_loss, | ||
create_model, | ||
create_model_and_transforms, | ||
create_model_from_pretrained, | ||
get_tokenizer, | ||
) | ||
from .optim_utils import * | ||
from .pytorch_fid.fid_score import * | ||
from .utils import get_org, set_org |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.