Skip to content

Commit

Permalink
Merge pull request #337 from facebookresearch/update_readme
Browse files Browse the repository at this point in the history
Update MUSICGEN.md
  • Loading branch information
JadeCopet authored Nov 20, 2023
2 parents 5905d2e + 7639ca4 commit 1c570cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/MUSICGEN.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,9 @@ Once you have launched some experiments, you can easily get access
to the Solver with the latest trained model using the following snippet.

```python
from audiocraft.solvers.musicgen import MusicGen
from audiocraft.solvers.musicgen import MusicGenSolver

solver = MusicGen.get_eval_solver_from_sig('SIG', device='cpu', batch_size=8)
solver = MusicGenSolver.get_eval_solver_from_sig('SIG', device='cpu', batch_size=8)
solver.model
solver.dataloaders
```
Expand Down

0 comments on commit 1c570cd

Please sign in to comment.