Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
soumik12345 committed Oct 30, 2024
1 parent a2a4331 commit 4f29ad0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hemm/tests/test_prompt_alignment_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ def test_prompt_alignment_evaluation():
diffusion_model_name_or_path="CompVis/stable-diffusion-v1-4",
enable_cpu_offfload=False,
)
clip_scorer = CLIPScoreMetric(
model_name="openai/clip-vit-base-patch16"
)
clip_scorer = CLIPScoreMetric(model_name="openai/clip-vit-base-patch16")
clip_iqa_scorer = CLIPImageQualityScoreMetric(model_name="clip_iqa")
dataset = weave.ref("parti-prompts:v0").get().rows[:2]
evaluation = weave.Evaluation(
Expand Down

0 comments on commit 4f29ad0

Please sign in to comment.