furkanyesiler / acoss

acoss: Audio Cover Song Suite is a framework for feature extraction and benchmarking for the cover song identification (CSI) task
GNU Affero General Public License v3.0
37 stars 20 forks source link

UnboundLocalError: local variable 'progressbar' referenced before assignment #22

Closed leonardltk closed 4 years ago

leonardltk commented 4 years ago

Hi, i am trying to run the benchmark.

benchmark(dataset_csv=COVERS_80_CSV, 
    feature_dir=feature_dir,
    algorithm="Serra09", 
    parallel=True,
    n_workers=2)

This error is given.

Traceback (most recent call last):
  File "/data3/lootiangkuan/AudioHashing/QbH/acoss/acoss/coverid.py", line 65, in benchmark
    serra09.all_pairwise(parallel, n_cores=n_workers, symmetric=True)
  File "/data3/lootiangkuan/AudioHashing/QbH/acoss/acoss/algorithms/algorithm_template.py", line 191, in all_pairwise
    progressbar.next()
UnboundLocalError: local variable 'progressbar' referenced before assignment
albincorreya commented 4 years ago

@leonardltk Thanks for reporting the issue. It should be solved by now.