Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.
/ brainhack-24 Public archive
generated from TIL-24/til-24-base

Commit

Permalink
Improve VLM model with augmented training dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
neosouwchuan authored and qitianshi committed Jun 5, 2024
1 parent 454563d commit 334a197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlm/src/VLMManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self):
print([f for f in os.listdir('.') if os.path.isfile(f)])
self.clipmodel= torch.load(path.join(path.dirname(path.abspath(__file__)), "clip_ft_2.pt"))
self.objects = ["cargo aircraft","light aircraft","commercial aircraft","drone","missile","helicopter","fighter jet","fighter plane"]
self.model = YOLOWorld(path.join(path.dirname(path.abspath(__file__)), "800allbest.pt")).to(self.device)
self.model = YOLOWorld(path.join(path.dirname(path.abspath(__file__)), "augmentedbestv2.pt")).to(self.device)
for i in self.clipmodel.parameters():
i.requires_grad=False
for i in self.model.parameters():
Expand Down

0 comments on commit 334a197

Please sign in to comment.