akoepke / audio-retrieval-benchmark

Implementation of "Audio Retrieval with Natural Language Queries: A Benchmark Study".
https://www.robots.ox.ac.uk/~vgg/research/audio-retrieval/
45 stars 2 forks source link

handle problem in eval.py #1

Closed Gokulapriyan-B closed 2 years ago

Gokulapriyan-B commented 2 years ago

When running eval.py in windows, line 101,

cmd = f"python test.py --config {config_path} --resume {trained_model_path} --device 0 --eval_from_training_config >&1 | tee logseval\log{groupid}{seed}.txt"

is giving output "The handle could not be duplicated during redirection of handle 1." Due to this, no log_{groupid}{seed}.txt is created in the logs_eval folder.

oncescuandreea commented 2 years ago

Hi, we have updated our code to hopefully work on Windows for the eval.py script. Please follow the instructions here https://github.com/akoepke/audio-retrieval-benchmark#for-windows-users-only-follow-these-instructions-windows-info