Closed jcthink closed 4 years ago
I believe the run
function was removed due to its rigidity.
The adequate way to now run some function over the whole database is simply to iterate over the tracks. For instance:
# initiate musdb
mus = musdb.DB(subsets="test")
result_dir = '.'
for track in mus:
print(track.name)
estimates = my_function(track)
mus.save_estimates(estimates, track, result_dir)
Dos it solve the issue ?
@jcthink can we close this issue?
got error musdb has no attribute run.