Skip to content
Snippets Groups Projects
Commit 35d50626 authored by chinyun_yu_joey's avatar chinyun_yu_joey
Browse files

rollback to use lfs

parent 98e7a887
No related branches found
Tags submission-test-unet-2
No related merge requests found
File added
......@@ -102,11 +102,7 @@ def separate(
class UNetAttnPredictor(MusicDemixingPredictor):
def prediction_setup(self):
# Load your model here and put it into `evaluation` mode
model_path, _ = download_large_file_from_google_drive(
"1GemMK3ETH5jJV-hnFfAyRCGrN2gDe5bo",
save_path="./models", save_name="unet.pth"
)
self.separator = torch.jit.load(model_path)
self.separator = torch.jit.load('./models/unet_test.pth')
self.separator.eval()
def prediction(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment