Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunked inference for codec #22

Merged
merged 25 commits into from
Jul 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change model path
  • Loading branch information
eeishaan committed Jul 19, 2023
commit d54e3590d623920309281ae384417eabfe8ea7bf
6 changes: 5 additions & 1 deletion dac/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ def download(
)

local_path = (
Path.home() / ".cache" / "descript" / model_type / tag / "dac" / f"weights.pth"
Path.home()
/ ".cache"
/ "descript"
/ "dac"
/ f"weights_{model_type}_{model_bitrate}_{tag}.pth"
)
if not local_path.exists():
local_path.parent.mkdir(parents=True, exist_ok=True)
Expand Down