Project

General

Profile

Bug #13035

Updated by Pavel Belecky 9 months ago

 

 При запуске usage_example.py из https://github.com/PlekhanovRUE/mpd_tpc_tracker rue github 

 если файл track_candidates_params.csv не содержит треков, 
 то функция cluster_and_neural_net() падает с ошибкой 

 <pre><code class="bash"> 
 Event #383 
 Traceback (most recent call last): 
   File "/home/belecky/work/sandbox_github_current_v3/usage_example_several_runs.py", line 137, in <module> 
     post_process() 
   File "/home/belecky/work/sandbox_github_current_v3/usage_example_several_runs.py", line 107, in post_process 
     result["NNS"] = cluster_and_neural_net(model, deepcopy(result.get("RAW")), df, event_num, indices, hits=3) 
   File "/home/belecky/work/sandbox_github_current_v3/post_processing/cleaning/neural_net.py", line 43, in cluster_and_neural_net 
     track_scores = model.predict(tracks_for_nn) 
   File "/home/belecky/work/venvs/venv9/lib/python3.10/site-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler 
     raise e.with_traceback(filtered_tb) from None 
   File "/home/belecky/work/venvs/venv9/lib/python3.10/site-packages/keras/src/engine/data_adapter.py", line 1319, in __init__ 
     raise ValueError("Expected input data to be non-empty.") 
 ValueError: Expected input data to be non-empty. 

 </code></pre> 

 Приоритет задачи: *ВЫСОКИЙ.* 

Back