Skip to content

Commit

Permalink
remove checker during evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianwei Yin committed Dec 9, 2023
1 parent 34c3b59 commit 71fed37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evaluation/single_object/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def main():
set_seed(args.seed)

model = convert_model_to_pipeline(args, accelerator.device)
model.safety_checker = None

os.makedirs(args.output_dir, exist_ok=True)

Expand Down

0 comments on commit 71fed37

Please sign in to comment.