• Ben Sherman's avatar
    Trivial fix for undefined symbol in train_dreambooth.py (#1598) · 326de419
    Ben Sherman authored
    easy fix for undefined name in train_dreambooth.py
    
    import_model_class_from_model_name_or_path loads a pretrained model
    and refers to args.revision in a context where args is undefined. I modified
    the function to take revision as an argument and modified the invocation
    of the function to pass in the revision from args. Seems like this was caused
    by a cut and paste.
    326de419
train_dreambooth.py 28.3 KB