Closed sreenivasaupadhyaya closed 1 year ago
It's hard to read the configuration you provided, specially with the comments included, could you separate the parameters line by line please? Or, alternatively, provide a screenshot of the generation_parameters.py file.
It's hard to read the configuration you provided, specially with the comments included, could you separate the parameters line by line please? Or, alternatively, provide a screenshot of the generation_parameters.py file. Hi Daniel, please find the parameters.file attached here. I had also tried with the default parameters as well which failed in between with the same error as explain above. test.txt
I'm running the code with the same parameters and seems to work perfectly fine. Are you sure you installed the libraries in the recommended versions? If yes, maybe you could backtrack the error (e.g., what kind of values/data types ntraj and riridx represent) to check what's causing the error exactly.
I'm running the code with the same parameters and seems to work perfectly fine. Are you sure you installed the libraries in the recommended versions? If yes, maybe you could backtrack the error (e.g., what kind of values/data types ntraj and riridx represent) to check what's causing the error exactly.
sorry for the mistake in uploading the file. Here is the config in case needed. I did install the libraries with the correct versions. But I will recheck it again. Its already a good boost for me to know that the config works for you.
@danielkrause I backtracked and found the following. ref: audio_synthesizer.txt Made the changes in the above file to make it work without errors.
Findings: When we create mixtures using "#create mixture targets mixtures_target, mixture_setup_target, foldlist_target = noiselessSynth.create_mixtures()"
the issue is seen in "noiselessAudioSynth.synthesize_mixtures()" when nb_events==1, the riridx is a nexted array instead of an integer (as expected in the code). I made the changes in the attached file to handle errorneous cases. The fix is a temporary fix to explain the issue.
Let me know your opinion.
Alright, I did a small fix which should cover that. Let me know if that works.
Hi @danielkrause , i checked the code. It fails again at
# load event audio and resample to match RIR sampling eventsig, fs_db = soundfile.read(self._db_path + '/' + filename)
The fix for this should be similar to the fix for riridx ( I had made a temporary fix in the file i shared earlier)
I created a python virtual environment with python3.8 and the version of the packages as mentioned in the readme. I got the following error
Configuration used:
` nb_folds = 2, # number of folds (default 2 - training and testing) rooms2fold = [[10, 6], # FOLD 1, rooms assigned to each fold (0's are ignored) [10, 6]], # FOLD 2
[[10, 6, 1, 4, 3, 8], # FOLD 1, rooms assigned to each fold (0's are ignored)
Question: I tried to make this script work with different configuration, but it fails everytime. Is there any update on these scripts? Thank you for posting the code. Thanks in advance and looking forward to your reply. @danielkrause