This file contains hidden or 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
""" | |
Examples: | |
(1) python benchmark_distilled_sd.py --pipeline_id CompVis/stable-diffusion-v1-4 | |
(2) python benchmark_distilled_sd.py --pipeline_id CompVis/stable-diffusion-v1-4 --vae_path sayakpaul/taesd-diffusers | |
(3) python benchmark_distilled_sd.py --pipeline_id nota-ai/bk-sdm-small | |
(4) python benchmark_distilled_sd.py --pipeline_id nota-ai/bk-sdm-small --vae_path sayakpaul/taesd-diffusers | |
""" | |
import argparse | |
import time |
This file contains hidden or 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
# Import Pandas Library | |
import pandas as pd | |
# Custom Exception Added | |
class AlreadyUpperCase(Exception): | |
def __init__(self): | |
super().__init__("DataFrame Provided Is Already In Upper Case") | |
pass | |