Skip to content

Commit

Permalink
taxabind update
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishu26 committed Oct 29, 2024
1 parent 449c6e1 commit 7aeb0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rshf/taxabind/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def get_audio_processor(self):
return self.process_audio

def get_location_encoder(self):
return GeoCLIP(self.config.location_encoder)
return GeoCLIP.from_pretrained(self.config.location_encoder)

def get_env_encoder(self):
return SINR(self.config.sinr)
return SINR.from_pretrained(self.config.sinr)

def get_env_processor(self):
return SINR.preprocess_locs
Expand Down

0 comments on commit 7aeb0c7

Please sign in to comment.