Skip to content

Commit

Permalink
Update MUSICGEN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adefossez authored Oct 27, 2023
1 parent f73b7ae commit 7639ca4
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 @@ -287,9 +287,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 7639ca4

Please sign in to comment.