marmoi / dcase2022_task1_baseline

Baseline system for DCASE 2022 task 1
11 stars 7 forks source link

reproducing the results ? #1

Open Noumanijaz744 opened 2 years ago

Noumanijaz744 commented 2 years ago

i done features extraction through preparedata.py ,created features_all.h5 file . i run the command 'python task1.py' but the results i got is just the log files which contains arrays values . how can i reproduce the results given on the website?

Noumanijaz744 commented 2 years ago

[I] [2022-08-25 21:27:54,458] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-08-25 21:27:54,466] [I] [2022-08-25 21:28:32,303] General information [I] [2022-08-25 21:28:32,304] ======================================== [I] [2022-08-25 21:28:32,304] Parameter set [I] [2022-08-25 21:28:32,304] Set ID : dcase2022_baseline [I] [2022-08-25 21:28:32,304] Set description : None [I] [2022-08-25 21:28:32,304] Application [I] [2022-08-25 21:28:32,304] Overwrite : True [I] [2022-08-25 21:28:32,305] Dataset : /data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-08-25 21:28:32,305] Active folds : [1] [I] [2022-08-25 21:28:32,305] [I] [2022-08-25 21:28:32,305] DONE
[I] [2022-08-25 21:28:32,305] [I] [2022-08-25 21:28:32,305] Learning [I] [2022-08-25 21:28:32,306] ======================================== [I] [2022-08-25 21:28:32,306] Fold [1] [I] [2022-08-25 21:28:32,306] [I] [2022-08-25 21:29:14,196] === Validation set for fold [1] / balanced === [I] [2022-08-25 21:29:14,197] Balancing mode : class [I] [2022-08-25 21:29:14,197]
[I] [2022-08-25 21:29:14,197] | Full training set | Selected validation subset |
[I] [2022-08-25 21:29:14,197] Scene label | Items | Items | Ratio (%)
[I] [2022-08-25 21:29:14,197] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 21:29:14,197] airport | 13930 | 4179 | 30.0%
[I] [2022-08-25 21:29:14,197] bus | 14000 | 4200 | 30.0%
[I] [2022-08-25 21:29:14,197] metro | 13820 | 4146 | 30.0%
[I] [2022-08-25 21:29:14,198] metro_station | 13800 | 4140 | 30.0%
[I] [2022-08-25 21:29:14,198] park | 14290 | 4287 | 30.0%
[I] [2022-08-25 21:29:14,198] public_square | 14270 | 4281 | 30.0%
[I] [2022-08-25 21:29:14,198] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-08-25 21:29:14,198] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-08-25 21:29:14,198] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-08-25 21:29:14,198] tram | 13790 | 4137 | 30.0%
[I] [2022-08-25 21:29:14,199] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 21:29:14,199] Overall | 139620 | 41886 | 30.0%
[I] [2022-08-25 21:29:14,199]
[I] [2022-08-25 21:43:06,722] === tf.keras setup === [I] [2022-08-25 21:43:06,722] BLAS library : BLAS/Atlas (Threads[8]) [I] [2022-08-25 21:43:06,722] Tensorflow : 2.2.0 [I] [2022-08-25 21:43:09,502] Device : cpu (cuda0 was set but not found) [I] [2022-08-25 21:43:09,502] DONE
[I] [2022-08-25 21:43:09,502] [I] [2022-08-25 21:43:09,502] Collecting training data [E] [2022-08-25 21:59:54,913] Uncaught exception Traceback (most recent call last): File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/main.py", line 39, in cli.main() File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main run() File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file runpy.run_path(target, run_name="main") File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 322, in run_path pkg_name=pkg_name, script_name=fname) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 136, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code exec(code, run_globals) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 147, in main overwrite=overwrite File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 312, in do_learning X_train, Y_train, data_size = load_data(db.scene_labels(), item_list_train, param, split='Train') File "/data/nouman/Baselines/dcase2022_task1_baseline/utils.py", line 501, in load_data Y.append(smooth_labels(create_one_hot_encoding(lab, unique_words))) File "/data/nouman/Baselines/dcase2022_task1_baseline/utils.py", line 454, in create_one_hot_encoding to_return[unique_words.index(word)] = 1 ValueError: '' is not in list [I] [2022-08-25 22:06:26,277] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-08-25 22:06:26,278] [I] [2022-08-25 22:07:03,510] General information [I] [2022-08-25 22:07:03,510] ======================================== [I] [2022-08-25 22:07:03,510] Parameter set [I] [2022-08-25 22:07:03,511] Set ID : dcase2022_baseline [I] [2022-08-25 22:07:03,511] Set description : None [I] [2022-08-25 22:07:03,511] Application [I] [2022-08-25 22:07:03,511] Overwrite : True [I] [2022-08-25 22:07:03,511] Dataset : /data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-08-25 22:07:03,511] Active folds : [1] [I] [2022-08-25 22:07:03,512] [I] [2022-08-25 22:07:03,512] DONE
[I] [2022-08-25 22:07:03,512] [I] [2022-08-25 22:07:03,512] Learning [I] [2022-08-25 22:07:03,512] ======================================== [I] [2022-08-25 22:07:03,513] Fold [1] [I] [2022-08-25 22:07:03,513] [I] [2022-08-25 22:07:45,667] === Validation set for fold [1] / balanced === [I] [2022-08-25 22:07:45,667] Balancing mode : class [I] [2022-08-25 22:07:45,667]
[I] [2022-08-25 22:07:45,667] | Full training set | Selected validation subset |
[I] [2022-08-25 22:07:45,667] Scene label | Items | Items | Ratio (%)
[I] [2022-08-25 22:07:45,668] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:07:45,668] airport | 13930 | 4179 | 30.0%
[I] [2022-08-25 22:07:45,668] bus | 14000 | 4200 | 30.0%
[I] [2022-08-25 22:07:45,668] metro | 13820 | 4146 | 30.0%
[I] [2022-08-25 22:07:45,668] metro_station | 13800 | 4140 | 30.0%
[I] [2022-08-25 22:07:45,668] park | 14290 | 4287 | 30.0%
[I] [2022-08-25 22:07:45,668] public_square | 14270 | 4281 | 30.0%
[I] [2022-08-25 22:07:45,669] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-08-25 22:07:45,669] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-08-25 22:07:45,669] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-08-25 22:07:45,669] tram | 13790 | 4137 | 30.0%
[I] [2022-08-25 22:07:45,669] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:07:45,669] Overall | 139620 | 41886 | 30.0%
[I] [2022-08-25 22:07:45,670]
[I] [2022-08-25 22:22:01,145] === tf.keras setup === [I] [2022-08-25 22:22:01,145] BLAS library : BLAS/Atlas (Threads[8]) [I] [2022-08-25 22:22:01,145] Tensorflow : 2.2.0 [I] [2022-08-25 22:22:01,669] Device : cpu (cuda0 was set but not found) [I] [2022-08-25 22:22:01,669] DONE
[I] [2022-08-25 22:22:01,670] [I] [2022-08-25 22:22:01,670] Collecting training data [E] [2022-08-25 22:39:22,581] Uncaught exception Traceback (most recent call last): File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/main.py", line 39, in cli.main() File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main run() File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file runpy.run_path(target, run_name="main") File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 322, in run_path pkg_name=pkg_name, script_name=fname) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 136, in _run_module_code mod_name, mod_spec, pkg_name, script_name) File "/data/nouman/.vscode-server/extensions/ms-python.python-2022.12.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code exec(code, run_globals) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 147, in main overwrite=overwrite File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 312, in do_learning X_train, Y_train, data_size = load_data(db.scene_labels(), item_list_train, param, split='Train') File "/data/nouman/Baselines/dcase2022_task1_baseline/utils.py", line 501, in load_data Y.append(smooth_labels(create_one_hot_encoding(lab, unique_words))) File "/data/nouman/Baselines/dcase2022_task1_baseline/utils.py", line 454, in create_one_hot_encoding to_return[unique_words.index(word)] = 1 ValueError: '' is not in list [I] [2022-08-25 22:47:26,448] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-08-25 22:47:26,449] [I] [2022-08-25 22:48:03,629] General information [I] [2022-08-25 22:48:03,629] ======================================== [I] [2022-08-25 22:48:03,629] Parameter set [I] [2022-08-25 22:48:03,629] Set ID : dcase2022_baseline [I] [2022-08-25 22:48:03,630] Set description : None [I] [2022-08-25 22:48:03,630] Application [I] [2022-08-25 22:48:03,630] Overwrite : True [I] [2022-08-25 22:48:03,630] Dataset : /data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-08-25 22:48:03,631] Active folds : [1] [I] [2022-08-25 22:48:03,631] [I] [2022-08-25 22:48:03,631] DONE
[I] [2022-08-25 22:48:03,631] [I] [2022-08-25 22:48:03,631] Learning [I] [2022-08-25 22:48:03,632] ======================================== [I] [2022-08-25 22:48:03,632] Fold [1] [I] [2022-08-25 22:48:03,632] [I] [2022-08-25 22:48:45,586] === Validation set for fold [1] / balanced === [I] [2022-08-25 22:48:45,587] Balancing mode : class [I] [2022-08-25 22:48:45,587]
[I] [2022-08-25 22:48:45,587] | Full training set | Selected validation subset |
[I] [2022-08-25 22:48:45,587] Scene label | Items | Items | Ratio (%)
[I] [2022-08-25 22:48:45,587] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:48:45,587] airport | 13930 | 4179 | 30.0%
[I] [2022-08-25 22:48:45,588] bus | 14000 | 4200 | 30.0%
[I] [2022-08-25 22:48:45,588] metro | 13820 | 4146 | 30.0%
[I] [2022-08-25 22:48:45,588] metro_station | 13800 | 4140 | 30.0%
[I] [2022-08-25 22:48:45,588] park | 14290 | 4287 | 30.0%
[I] [2022-08-25 22:48:45,588] public_square | 14270 | 4281 | 30.0%
[I] [2022-08-25 22:48:45,588] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-08-25 22:48:45,588] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-08-25 22:48:45,589] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-08-25 22:48:45,589] tram | 13790 | 4137 | 30.0%
[I] [2022-08-25 22:48:45,589] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:48:45,589] Overall | 139620 | 41886 | 30.0%
[I] [2022-08-25 22:48:45,589]
[I] [2022-08-25 22:55:42,449] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-08-25 22:55:42,449] [I] [2022-08-25 22:56:20,349] General information [I] [2022-08-25 22:56:20,349] ======================================== [I] [2022-08-25 22:56:20,349] Parameter set [I] [2022-08-25 22:56:20,349] Set ID : dcase2022_baseline [I] [2022-08-25 22:56:20,350] Set description : None [I] [2022-08-25 22:56:20,350] Application [I] [2022-08-25 22:56:20,350] Overwrite : True [I] [2022-08-25 22:56:20,350] Dataset : /data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-08-25 22:56:20,350] Active folds : [1] [I] [2022-08-25 22:56:20,350] [I] [2022-08-25 22:56:20,351] DONE
[I] [2022-08-25 22:56:20,351] [I] [2022-08-25 22:56:20,351] Learning [I] [2022-08-25 22:56:20,351] ======================================== [I] [2022-08-25 22:56:20,351] Fold [1] [I] [2022-08-25 22:56:20,352] [I] [2022-08-25 22:57:02,839] === Validation set for fold [1] / balanced === [I] [2022-08-25 22:57:02,839] Balancing mode : class [I] [2022-08-25 22:57:02,839]
[I] [2022-08-25 22:57:02,840] | Full training set | Selected validation subset |
[I] [2022-08-25 22:57:02,840] Scene label | Items | Items | Ratio (%)
[I] [2022-08-25 22:57:02,840] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:57:02,840] airport | 13930 | 4179 | 30.0%
[I] [2022-08-25 22:57:02,840] bus | 14000 | 4200 | 30.0%
[I] [2022-08-25 22:57:02,840] metro | 13820 | 4146 | 30.0%
[I] [2022-08-25 22:57:02,840] metro_station | 13800 | 4140 | 30.0%
[I] [2022-08-25 22:57:02,841] park | 14290 | 4287 | 30.0%
[I] [2022-08-25 22:57:02,841] public_square | 14270 | 4281 | 30.0%
[I] [2022-08-25 22:57:02,841] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-08-25 22:57:02,841] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-08-25 22:57:02,841] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-08-25 22:57:02,841] tram | 13790 | 4137 | 30.0%
[I] [2022-08-25 22:57:02,841] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-08-25 22:57:02,842] Overall | 139620 | 41886 | 30.0%
[I] [2022-08-25 22:57:02,842]
[I] [2022-08-25 23:10:36,438] === tf.keras setup === [I] [2022-08-25 23:10:36,439] BLAS library : BLAS/Atlas (Threads[8]) [I] [2022-08-25 23:10:36,439] Tensorflow : 2.2.0 [I] [2022-08-25 23:10:37,004] Device : cpu (cuda0 was set but not found) [I] [2022-08-25 23:10:37,005] DONE
[I] [2022-08-25 23:10:37,005] [I] [2022-08-25 23:10:37,005] Collecting training data [I] [2022-10-27 16:14:06,053] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 16:14:06,108] [E] [2022-10-27 16:14:06,136] MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] NoneType: None [E] [2022-10-27 16:14:06,136] Uncaught exception Traceback (most recent call last): File "task1.py", line 939, in sys.exit(main()) File "task1.py", line 112, in main db.prepare() File "/data/nouman/Baselines/dcase2022_task1_baseline/TAUUrbanAcousticScenes_2022_Mobile_DevelopmentSet.py", line 110, in prepare fold=fold File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/containers/metadata.py", line 1912, in load raise IOError(message) OSError: MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] [I] [2022-10-27 23:16:39,442] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:16:39,482] [E] [2022-10-27 23:16:39,483] MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] NoneType: None [E] [2022-10-27 23:16:39,483] Uncaught exception Traceback (most recent call last): File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 112, in main db.prepare() File "/data/nouman/Baselines/dcase2022_task1_baseline/TAUUrbanAcousticScenes_2022_Mobile_DevelopmentSet.py", line 112, in prepare ).load() File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/containers/metadata.py", line 1982, in load raise IOError(message) OSError: MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] [I] [2022-10-27 23:18:31,737] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:18:31,738] [E] [2022-10-27 23:18:31,738] MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] NoneType: None [E] [2022-10-27 23:18:31,738] Uncaught exception Traceback (most recent call last): File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 112, in main db.prepare() File "/data/nouman/Baselines/dcase2022_task1_baseline/TAUUrbanAcousticScenes_2022_Mobile_DevelopmentSet.py", line 112, in prepare ).load() File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/containers/metadata.py", line 1982, in load raise IOError(message) OSError: MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] [I] [2022-10-27 23:20:22,933] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:20:22,933] [E] [2022-10-27 23:20:22,933] MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] NoneType: None [E] [2022-10-27 23:20:22,933] Uncaught exception Traceback (most recent call last): File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 112, in main db.prepare() File "/data/nouman/Baselines/dcase2022_task1_baseline/TAUUrbanAcousticScenes_2022_Mobile_DevelopmentSet.py", line 112, in prepare ).load() File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/containers/metadata.py", line 1982, in load raise IOError(message) OSError: MetaDataContainer: File not found [/data/nouman/datasets/d22/TAU-urban-acoustic-scenes-2022-mobile-development/audio/TAU-urban-acoustic-scenes-2022-mobile-development/evaluation_setup/fold1_train.csv] [I] [2022-10-27 23:23:10,947] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:23:10,947] [I] [2022-10-27 23:23:19,994] General information [I] [2022-10-27 23:23:19,994] ======================================== [I] [2022-10-27 23:23:19,994] Parameter set [I] [2022-10-27 23:23:19,994] Set ID : dcase2022_baseline [I] [2022-10-27 23:23:19,994] Set description : None [I] [2022-10-27 23:23:19,994] Application [I] [2022-10-27 23:23:19,994] Overwrite : True [I] [2022-10-27 23:23:19,994] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-27 23:23:19,995] Active folds : [1] [I] [2022-10-27 23:23:19,995] [I] [2022-10-27 23:23:19,995] DONE
[I] [2022-10-27 23:23:19,995] [I] [2022-10-27 23:23:19,995] Learning [I] [2022-10-27 23:23:19,995] ======================================== [I] [2022-10-27 23:23:19,995] Fold [1] [I] [2022-10-27 23:23:19,995] [I] [2022-10-27 23:23:29,827] === Validation set for fold [1] / balanced === [I] [2022-10-27 23:23:29,827] Balancing mode : class [I] [2022-10-27 23:23:29,827]
[I] [2022-10-27 23:23:29,827] | Full training set | Selected validation subset |
[I] [2022-10-27 23:23:29,827] Scene label | Items | Items | Ratio (%)
[I] [2022-10-27 23:23:29,827] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:23:29,827] airport | 13930 | 4179 | 30.0%
[I] [2022-10-27 23:23:29,827] bus | 14000 | 4200 | 30.0%
[I] [2022-10-27 23:23:29,828] metro | 13820 | 4146 | 30.0%
[I] [2022-10-27 23:23:29,828] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-27 23:23:29,828] park | 14290 | 4287 | 30.0%
[I] [2022-10-27 23:23:29,828] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-27 23:23:29,828] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-27 23:23:29,828] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-27 23:23:29,828] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-27 23:23:29,828] tram | 13790 | 4137 | 30.0%
[I] [2022-10-27 23:23:29,828] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:23:29,828] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-27 23:23:29,829]
[I] [2022-10-27 23:27:52,775] === tf.keras setup === [E] [2022-10-27 23:27:52,775] Uncaught exception Traceback (most recent call last): File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 142, in main processed_items = do_learning( File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 302, in do_learning dcase_util.tfkeras.setup_keras( File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/decorators/decorators.py", line 14, in call return self.f(*args, *kwargs) File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/tfkeras/utils.py", line 110, in setup_keras if numpy.config.blas_opt_info and 'libraries' in numpy.config.blas_opt_info: AttributeError: module 'numpy.config' has no attribute 'blas_opt_info' [I] [2022-10-27 23:33:11,347] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:33:11,347] [I] [2022-10-27 23:33:20,396] General information [I] [2022-10-27 23:33:20,397] ======================================== [I] [2022-10-27 23:33:20,397] Parameter set [I] [2022-10-27 23:33:20,397] Set ID : dcase2022_baseline [I] [2022-10-27 23:33:20,397] Set description : None [I] [2022-10-27 23:33:20,397] Application [I] [2022-10-27 23:33:20,397] Overwrite : True [I] [2022-10-27 23:33:20,397] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-27 23:33:20,397] Active folds : [1] [I] [2022-10-27 23:33:20,397] [I] [2022-10-27 23:33:20,397] DONE
[I] [2022-10-27 23:33:20,397] [I] [2022-10-27 23:33:20,397] Learning [I] [2022-10-27 23:33:20,397] ======================================== [I] [2022-10-27 23:33:20,397] Fold [1] [I] [2022-10-27 23:33:20,398] [I] [2022-10-27 23:33:30,319] === Validation set for fold [1] / balanced === [I] [2022-10-27 23:33:30,319] Balancing mode : class [I] [2022-10-27 23:33:30,319]
[I] [2022-10-27 23:33:30,319] | Full training set | Selected validation subset |
[I] [2022-10-27 23:33:30,319] Scene label | Items | Items | Ratio (%)
[I] [2022-10-27 23:33:30,319] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:33:30,319] airport | 13930 | 4179 | 30.0%
[I] [2022-10-27 23:33:30,319] bus | 14000 | 4200 | 30.0%
[I] [2022-10-27 23:33:30,319] metro | 13820 | 4146 | 30.0%
[I] [2022-10-27 23:33:30,319] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-27 23:33:30,319] park | 14290 | 4287 | 30.0%
[I] [2022-10-27 23:33:30,319] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-27 23:33:30,319] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-27 23:33:30,320] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-27 23:33:30,320] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-27 23:33:30,320] tram | 13790 | 4137 | 30.0%
[I] [2022-10-27 23:33:30,320] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:33:30,320] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-27 23:33:30,320]
[I] [2022-10-27 23:43:15,631] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-27 23:43:15,631] [I] [2022-10-27 23:43:24,783] General information [I] [2022-10-27 23:43:24,783] ======================================== [I] [2022-10-27 23:43:24,783] Parameter set [I] [2022-10-27 23:43:24,783] Set ID : dcase2022_baseline [I] [2022-10-27 23:43:24,783] Set description : None [I] [2022-10-27 23:43:24,783] Application [I] [2022-10-27 23:43:24,783] Overwrite : True [I] [2022-10-27 23:43:24,783] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-27 23:43:24,783] Active folds : [1] [I] [2022-10-27 23:43:24,783] [I] [2022-10-27 23:43:24,784] DONE
[I] [2022-10-27 23:43:24,784] [I] [2022-10-27 23:43:24,784] Learning [I] [2022-10-27 23:43:24,784] ======================================== [I] [2022-10-27 23:43:24,784] Fold [1] [I] [2022-10-27 23:43:24,784] [I] [2022-10-27 23:43:34,753] === Validation set for fold [1] / balanced === [I] [2022-10-27 23:43:34,753] Balancing mode : class [I] [2022-10-27 23:43:34,754]
[I] [2022-10-27 23:43:34,754] | Full training set | Selected validation subset |
[I] [2022-10-27 23:43:34,754] Scene label | Items | Items | Ratio (%)
[I] [2022-10-27 23:43:34,754] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:43:34,754] airport | 13930 | 4179 | 30.0%
[I] [2022-10-27 23:43:34,754] bus | 14000 | 4200 | 30.0%
[I] [2022-10-27 23:43:34,754] metro | 13820 | 4146 | 30.0%
[I] [2022-10-27 23:43:34,754] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-27 23:43:34,754] park | 14290 | 4287 | 30.0%
[I] [2022-10-27 23:43:34,754] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-27 23:43:34,754] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-27 23:43:34,754] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-27 23:43:34,754] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-27 23:43:34,754] tram | 13790 | 4137 | 30.0%
[I] [2022-10-27 23:43:34,754] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-27 23:43:34,754] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-27 23:43:34,755]
[I] [2022-10-27 23:47:50,163] === tf.keras setup === [E] [2022-10-27 23:47:50,163] Uncaught exception Traceback (most recent call last): File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 939, in sys.exit(main()) File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 142, in main processed_items = do_learning( File "/data/nouman/Baselines/dcase2022_task1_baseline/task1.py", line 302, in do_learning dcase_util.tfkeras.setup_keras( File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/decorators/decorators.py", line 14, in call return self.f(
args, **kwargs) File "/data/nouman/.conda/envs/dcas22_task5/lib/python3.10/site-packages/dcase_util/tfkeras/utils.py", line 110, in setup_keras if numpy.config.blas_opt_info and 'libraries' in numpy.config.blas_opt_info: AttributeError: module 'numpy.config' has no attribute 'blas_opt_info' [I] [2022-10-28 00:11:39,969] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 00:11:39,969] [I] [2022-10-28 00:11:51,260] General information [I] [2022-10-28 00:11:51,260] ======================================== [I] [2022-10-28 00:11:51,260] Parameter set [I] [2022-10-28 00:11:51,260] Set ID : dcase2022_baseline [I] [2022-10-28 00:11:51,261] Set description : None [I] [2022-10-28 00:11:51,261] Application [I] [2022-10-28 00:11:51,261] Overwrite : True [I] [2022-10-28 00:11:51,261] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 00:11:51,261] Active folds : [1] [I] [2022-10-28 00:11:51,261] [I] [2022-10-28 00:11:51,261] DONE
[I] [2022-10-28 00:11:51,261] [I] [2022-10-28 00:11:51,261] Learning [I] [2022-10-28 00:11:51,261] ======================================== [I] [2022-10-28 00:11:51,261] Fold [1] [I] [2022-10-28 00:11:51,261] [I] [2022-10-28 00:12:12,841] === Validation set for fold [1] / balanced === [I] [2022-10-28 00:12:12,841] Balancing mode : class [I] [2022-10-28 00:12:12,841]
[I] [2022-10-28 00:12:12,842] | Full training set | Selected validation subset |
[I] [2022-10-28 00:12:12,842] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 00:12:12,842] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 00:12:12,842] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 00:12:12,842] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 00:12:12,842] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 00:12:12,842] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 00:12:12,842] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 00:12:12,842] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 00:12:12,842] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 00:12:12,842] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 00:12:12,842] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 00:12:12,842] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 00:12:12,842] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 00:12:12,842] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 00:12:12,842]
[I] [2022-10-28 00:21:31,652] === tf.keras setup === [I] [2022-10-28 00:21:31,652] BLAS library : OpenBLAS (Threads[8]) [I] [2022-10-28 00:21:31,652] Tensorflow : 2.9.1 [I] [2022-10-28 00:21:32,285] Device : cpu (cuda0 was set but not found) [I] [2022-10-28 00:21:32,285]
[I] [2022-10-28 14:25:45,655] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 14:25:45,969] [I] [2022-10-28 14:26:01,678] General information [I] [2022-10-28 14:26:01,679] ======================================== [I] [2022-10-28 14:26:01,679] Parameter set [I] [2022-10-28 14:26:01,679] Set ID : dcase2022_baseline [I] [2022-10-28 14:26:01,679] Set description : None [I] [2022-10-28 14:26:01,679] Application [I] [2022-10-28 14:26:01,679] Overwrite : True [I] [2022-10-28 14:26:01,679] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 14:26:01,679] Active folds : [1] [I] [2022-10-28 14:26:01,679] [I] [2022-10-28 14:26:01,679] DONE
[I] [2022-10-28 14:26:01,680] [I] [2022-10-28 14:26:01,680] Learning [I] [2022-10-28 14:26:01,680] ======================================== [I] [2022-10-28 14:26:01,680] Fold [1] [I] [2022-10-28 14:26:01,680] [I] [2022-10-28 14:26:24,087] === Validation set for fold [1] / balanced === [I] [2022-10-28 14:26:24,087] Balancing mode : class [I] [2022-10-28 14:26:24,088]
[I] [2022-10-28 14:26:24,088] | Full training set | Selected validation subset |
[I] [2022-10-28 14:26:24,088] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 14:26:24,088] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 14:26:24,088] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 14:26:24,088] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 14:26:24,088] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 14:26:24,088] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 14:26:24,088] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 14:26:24,088] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 14:26:24,088] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 14:26:24,088] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 14:26:24,088] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 14:26:24,088] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 14:26:24,088] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 14:26:24,088] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 14:26:24,088]
[I] [2022-10-28 14:37:27,511] === tf.keras setup === [I] [2022-10-28 14:37:27,511] BLAS library : OpenBLAS (Threads[8]) [I] [2022-10-28 14:37:27,511] Tensorflow : 2.9.1 [I] [2022-10-28 14:37:28,740] Device : cpu (cuda0 was set but not found) [I] [2022-10-28 14:37:28,740] DONE
[I] [2022-10-28 14:37:28,740] [I] [2022-10-28 14:37:28,740] Collecting training data [I] [2022-10-28 14:52:35,644] DONE
[I] [2022-10-28 14:52:35,644] [I] [2022-10-28 14:52:35,644] Collecting validation data [I] [2022-10-28 14:58:34,659] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 14:58:34,659] [I] [2022-10-28 14:58:50,363] General information [I] [2022-10-28 14:58:50,363] ======================================== [I] [2022-10-28 14:58:50,363] Parameter set [I] [2022-10-28 14:58:50,363] Set ID : dcase2022_baseline [I] [2022-10-28 14:58:50,363] Set description : None [I] [2022-10-28 14:58:50,363] Application [I] [2022-10-28 14:58:50,363] Overwrite : True [I] [2022-10-28 14:58:50,363] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 14:58:50,363] Active folds : [1] [I] [2022-10-28 14:58:50,364] [I] [2022-10-28 14:58:50,364] DONE
[I] [2022-10-28 14:58:50,364] [I] [2022-10-28 14:58:50,364] Learning [I] [2022-10-28 14:58:50,364] ======================================== [I] [2022-10-28 14:58:50,364] Fold [1] [I] [2022-10-28 14:58:50,364] [I] [2022-10-28 14:59:11,855] === Validation set for fold [1] / balanced === [I] [2022-10-28 14:59:11,855] Balancing mode : class [I] [2022-10-28 14:59:11,855]
[I] [2022-10-28 14:59:11,855] | Full training set | Selected validation subset |
[I] [2022-10-28 14:59:11,856] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 14:59:11,856] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 14:59:11,856] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 14:59:11,856] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 14:59:11,856] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 14:59:11,856] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 14:59:11,856] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 14:59:11,856] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 14:59:11,856] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 14:59:11,856] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 14:59:11,856] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 14:59:11,856] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 14:59:11,856] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 14:59:11,856] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 14:59:11,856]
[I] [2022-10-28 15:09:48,885] === tf.keras setup === [I] [2022-10-28 15:09:48,885] BLAS library : OpenBLAS (Threads[8]) [I] [2022-10-28 15:09:48,885] Tensorflow : 2.9.1 [I] [2022-10-28 15:09:49,040] Device : cpu (cuda0 was set but not found) [I] [2022-10-28 15:09:49,041] DONE
[I] [2022-10-28 15:09:49,041] [I] [2022-10-28 15:09:49,041] Collecting training data [I] [2022-10-28 15:25:02,335] DONE
[I] [2022-10-28 15:25:02,335] [I] [2022-10-28 15:25:02,335] Collecting validation data [I] [2022-10-28 15:31:28,321] DONE
[I] [2022-10-28 15:31:28,321] [E] [2022-10-28 15:31:28,485] SimpleMathStringEvaluator: Unable to import pyparsing module. You can install it with pip install pyparsing. Traceback (most recent call last): File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/utils/math.py", line 18, in init from pyparsing import Word, nums, alphas, Combine, oneOf, opAssoc, operatorPrecedence ImportError: cannot import name 'operatorPrecedence' from 'pyparsing' (/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/pyparsing/init.py) [E] [2022-10-28 15:31:28,503] Uncaught exception Traceback (most recent call last): File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/utils/math.py", line 18, in init from pyparsing import Word, nums, alphas, Combine, oneOf, opAssoc, operatorPrecedence ImportError: cannot import name 'operatorPrecedence' from 'pyparsing' (/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/pyparsing/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "task1.py", line 940, in sys.exit(main()) File "task1.py", line 148, in main overwrite=overwrite File "task1.py", line 347, in do_learning constants=model_parameter_constants File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/tfkeras/model.py", line 159, in create_sequential_model constants_dict=constants File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/tfkeras/model.py", line 122, in process_field math_eval = SimpleMathStringEvaluator() File "/data/nouman/.conda/envs/noumanijaz/lib/python3.7/site-packages/dcase_util/utils/math.py", line 26, in init raise ImportError(message) ImportError: SimpleMathStringEvaluator: Unable to import pyparsing module. You can install it with pip install pyparsing. [I] [2022-10-28 17:05:36,481] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 17:05:36,481] [I] [2022-10-28 17:05:50,217] General information [I] [2022-10-28 17:05:50,217] ======================================== [I] [2022-10-28 17:05:50,217] Parameter set [I] [2022-10-28 17:05:50,217] Set ID : dcase2022_baseline [I] [2022-10-28 17:05:50,217] Set description : None [I] [2022-10-28 17:05:50,218] Application [I] [2022-10-28 17:05:50,218] Overwrite : True [I] [2022-10-28 17:05:50,218] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 17:05:50,218] Active folds : [1] [I] [2022-10-28 17:05:50,218] [I] [2022-10-28 17:05:50,218] DONE
[I] [2022-10-28 17:05:50,218] [I] [2022-10-28 17:05:50,218] Learning [I] [2022-10-28 17:05:50,218] ======================================== [I] [2022-10-28 17:05:50,218] Fold [1] [I] [2022-10-28 17:05:50,218] [I] [2022-10-28 17:06:02,345] === Validation set for fold [1] / balanced === [I] [2022-10-28 17:06:02,345] Balancing mode : class [I] [2022-10-28 17:06:02,345]
[I] [2022-10-28 17:06:02,345] | Full training set | Selected validation subset |
[I] [2022-10-28 17:06:02,345] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 17:06:02,345] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 17:06:02,345] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 17:06:02,346] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 17:06:02,346] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 17:06:02,346] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 17:06:02,346] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 17:06:02,346] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 17:06:02,346] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 17:06:02,346] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 17:06:02,346] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 17:06:02,346] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 17:06:02,346] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 17:06:02,346] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 17:06:02,346]
[I] [2022-10-28 17:12:01,389] === tf.keras setup === [I] [2022-10-28 17:12:01,389] Tensorflow : 1.3.0 [E] [2022-10-28 17:12:01,389] Uncaught exception Traceback (most recent call last): File "task1.py", line 940, in sys.exit(main()) File "task1.py", line 148, in main overwrite=overwrite File "task1.py", line 307, in do_learning print_indent=2 File "/data/nouman/.conda/envs/tf2-dcase/lib/python3.6/site-packages/dcase_util/decorators/decorators.py", line 14, in call return self.f(*args, *kwargs) File "/data/nouman/.conda/envs/tf2-dcase/lib/python3.6/site-packages/dcase_util/tfkeras/utils.py", line 178, in setup_keras tf.config.threading.set_inter_op_parallelism_threads( AttributeError: module 'tensorflow' has no attribute 'config' [I] [2022-10-28 17:15:00,397] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 17:15:00,398] [I] [2022-10-28 17:15:11,824] General information [I] [2022-10-28 17:15:11,824] ======================================== [I] [2022-10-28 17:15:11,824] Parameter set [I] [2022-10-28 17:15:11,824] Set ID : dcase2022_baseline [I] [2022-10-28 17:15:11,824] Set description : None [I] [2022-10-28 17:15:11,824] Application [I] [2022-10-28 17:15:11,825] Overwrite : True [I] [2022-10-28 17:15:11,825] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 17:15:11,825] Active folds : [1] [I] [2022-10-28 17:15:11,825] [I] [2022-10-28 17:15:11,825] DONE
[I] [2022-10-28 17:15:11,825] [I] [2022-10-28 17:15:11,825] Learning [I] [2022-10-28 17:15:11,825] ======================================== [I] [2022-10-28 17:15:11,825] Fold [1] [I] [2022-10-28 17:15:11,825] [I] [2022-10-28 17:15:23,842] === Validation set for fold [1] / balanced === [I] [2022-10-28 17:15:23,842] Balancing mode : class [I] [2022-10-28 17:15:23,843]
[I] [2022-10-28 17:15:23,843] | Full training set | Selected validation subset |
[I] [2022-10-28 17:15:23,843] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 17:15:23,843] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 17:15:23,843] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 17:15:23,843] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 17:15:23,843] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 17:15:23,843] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 17:15:23,843] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 17:15:23,843] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 17:15:23,843] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 17:15:23,844] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 17:15:23,844] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 17:15:23,844] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 17:15:23,844] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 17:15:23,844] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 17:15:23,844]
[I] [2022-10-28 17:21:30,001] === tf.keras setup === [I] [2022-10-28 17:21:30,001] Tensorflow : 1.14.0 [I] [2022-10-28 17:21:30,040] Device : cpu (cuda0 was set but not found) [I] [2022-10-28 17:21:30,040] DONE
[I] [2022-10-28 17:21:30,041] [I] [2022-10-28 17:21:30,041] Collecting training data [I] [2022-10-28 21:31:43,604] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 21:31:43,701] [I] [2022-10-28 21:32:03,944] General information [I] [2022-10-28 21:32:03,944] ======================================== [I] [2022-10-28 21:32:03,945] Parameter set [I] [2022-10-28 21:32:03,945] Set ID : dcase2022_baseline [I] [2022-10-28 21:32:03,945] Set description : None [I] [2022-10-28 21:32:03,945] Application [I] [2022-10-28 21:32:03,945] Overwrite : True [I] [2022-10-28 21:32:03,945] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 21:32:03,945] Active folds : [1] [I] [2022-10-28 21:32:03,945] [I] [2022-10-28 21:32:03,945] DONE
[I] [2022-10-28 21:32:03,945] [I] [2022-10-28 21:32:03,945] Learning [I] [2022-10-28 21:32:03,945] ======================================== [I] [2022-10-28 21:32:03,945] Fold [1] [I] [2022-10-28 21:32:03,946] [I] [2022-10-28 21:32:16,130] === Validation set for fold [1] / balanced === [I] [2022-10-28 21:32:16,130] Balancing mode : class [I] [2022-10-28 21:32:16,130]
[I] [2022-10-28 21:32:16,131] | Full training set | Selected validation subset |
[I] [2022-10-28 21:32:16,131] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 21:32:16,131] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 21:32:16,131] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 21:32:16,131] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 21:32:16,131] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 21:32:16,131] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 21:32:16,131] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 21:32:16,131] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 21:32:16,131] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 21:32:16,131] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 21:32:16,131] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 21:32:16,131] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 21:32:16,131] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 21:32:16,131] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 21:32:16,131]
[E] [2022-10-28 21:38:25,939] Uncaught exception Traceback (most recent call last): File "task1.py", line 940, in sys.exit(main()) File "task1.py", line 148, in main overwrite=overwrite File "task1.py", line 307, in do_learning print_indent=2 File "/data/nouman/.conda/envs/tf2-dcase/lib/python3.6/site-packages/dcase_util/decorators/decorators.py", line 14, in call return self.f(
args, **kwargs) File "/data/nouman/.conda/envs/tf2-dcase/lib/python3.6/site-packages/dcase_util/tfkeras/utils.py", line 84, in setup_keras logger().exception(message) File "/data/nouman/.conda/envs/tf2-dcase/lib/python3.6/site-packages/dcase_util/tfkeras/utils.py", line 52, in logger logger_instance = logging.getLogger(name) NameError: free variable 'logging' referenced before assignment in enclosing scope [I] [2022-10-28 21:41:33,774] DCASE2022 / Task1A -- low-complexity Acoustic Scene Classification [I] [2022-10-28 21:41:33,774] [I] [2022-10-28 21:41:45,099] General information [I] [2022-10-28 21:41:45,099] ======================================== [I] [2022-10-28 21:41:45,099] Parameter set [I] [2022-10-28 21:41:45,099] Set ID : dcase2022_baseline [I] [2022-10-28 21:41:45,099] Set description : None [I] [2022-10-28 21:41:45,099] Application [I] [2022-10-28 21:41:45,099] Overwrite : True [I] [2022-10-28 21:41:45,099] Dataset : TAU-urban-acoustic-scenes-2022-mobile-development/ [I] [2022-10-28 21:41:45,099] Active folds : [1] [I] [2022-10-28 21:41:45,100] [I] [2022-10-28 21:41:45,100] DONE
[I] [2022-10-28 21:41:45,100] [I] [2022-10-28 21:41:45,100] Learning [I] [2022-10-28 21:41:45,100] ======================================== [I] [2022-10-28 21:41:45,100] Fold [1] [I] [2022-10-28 21:41:45,100] [I] [2022-10-28 21:41:57,238] === Validation set for fold [1] / balanced === [I] [2022-10-28 21:41:57,238] Balancing mode : class [I] [2022-10-28 21:41:57,238]
[I] [2022-10-28 21:41:57,238] | Full training set | Selected validation subset |
[I] [2022-10-28 21:41:57,238] Scene label | Items | Items | Ratio (%)
[I] [2022-10-28 21:41:57,238] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 21:41:57,238] airport | 13930 | 4179 | 30.0%
[I] [2022-10-28 21:41:57,238] bus | 14000 | 4200 | 30.0%
[I] [2022-10-28 21:41:57,238] metro | 13820 | 4146 | 30.0%
[I] [2022-10-28 21:41:57,238] metro_station | 13800 | 4140 | 30.0%
[I] [2022-10-28 21:41:57,238] park | 14290 | 4287 | 30.0%
[I] [2022-10-28 21:41:57,238] public_square | 14270 | 4281 | 30.0%
[I] [2022-10-28 21:41:57,238] shopping_mall | 13730 | 4119 | 30.0%
[I] [2022-10-28 21:41:57,238] street_pedestrian | 13860 | 4158 | 30.0%
[I] [2022-10-28 21:41:57,239] street_traffic | 14130 | 4239 | 30.0%
[I] [2022-10-28 21:41:57,239] tram | 13790 | 4137 | 30.0%
[I] [2022-10-28 21:41:57,239] --------------------------- | --------------------------- | --------------------------- | ------------
[I] [2022-10-28 21:41:57,239] Overall | 139620 | 41886 | 30.0%
[I] [2022-10-28 21:41:57,239]
[I] [2022-10-28 21:48:02,486] === tf.keras setup === [I] [2022-10-28 21:48:02,486] Tensorflow : 1.14.0 [I] [2022-10-28 21:48:02,520] Device : cpu (cuda0 was set but not found) [I] [2022-10-28 21:48:02,520] DONE
[I] [2022-10-28 21:48:02,520] [I] [2022-10-28 21:48:02,520] Collecting training data

rkmlai commented 1 year ago

One of the error I had, which also appears in the log above, was:

AttributeError: module 'numpy.config' has no attribute 'blas_opt_info

This appears to be due to running newer version of numpy. Changing/downgrading to earlier version seems solve this issue. For example, numpy version 1.21 works for me:

pip3 install --upgrade numpy==1.21