python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4189' -s datou_current_4189 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1398936 load datou : 4189 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Date 2026-07-01 08:35:29.508407 Current got : datou_id : 4189, datou_cur_ids : ['4387729'] with mtr_portfolio_ids : ['31175950'] and first list_photo_ids : [] new path : /proc/1398936/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : split_time_score over limit max, limiting to limit_max 100 list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.015929460525512695 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Jul 1 08:35:29 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 50), ('14', 50)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 82} L25062026 31175950 Nombre de photos uploadées : 100 / 23040 (0%) 25062026 31175950 Nombre de photos taguées (types de déchets): 82 / 100 (82%) 25062026 31175950 Nombre de photos taguées (volume) : 82 / 100 (82%) elapsed_time : load_data_split_time_score 4.76837158203125e-07 elapsed_time : order_list_meta_photo_and_scores 2.1219253540039062e-05 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.004122018814086914 LCatched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.05862283706665039 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.0051991939544677734 Creating list_photo_total elapsed_time : select_descriptors 7.952186346054077 25062026 31175950 Nombre de photos avec descriptors (type 5680) : 82 / 100 (82%) Missing descriptors for photos 0 and 1420241330 L0:00:00|ON:Missing descriptors for photos 1420241330 and 1420241329 LMissing descriptors for photos 1420241329 and 1420241332 LMissing descriptors for photos 1420241332 and 1420241331 LMissing descriptors for photos 1420241331 and 1420241333 LMissing descriptors for photos 1420241333 and 1420241334 LMissing descriptors for photos 1420241334 and 1420241932 LMissing descriptors for photos 1420241932 and 1420241933 LMissing descriptors for photos 1420241933 and 1420241934 LMissing descriptors for photos 1420241934 and 1420241935 LMissing descriptors for photos 1420241935 and 1420241936 LMissing descriptors for photos 1420241936 and 1420241937 LMissing descriptors for photos 1420241937 and 1420241975 LMissing descriptors for photos 1420241975 and 1420241978 LMissing descriptors for photos 1420241978 and 1420241979 LMissing descriptors for photos 1420241979 and 1420241977 LMissing descriptors for photos 1420241977 and 1420241976 LMissing descriptors for photos 1420241976 and 1420241980 LERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1420242063 photo_id_prec : 1420241980 LLLLLLLLLLLLLLLLL0:34:00.160988|OFF:L0:01:00.907561|ON:LLLLLL0:03:58.668173|OFF:L0:03:59.943675|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 25062026 Removing 2 photos because of the 'same image' condition Total on : 2278.829161 list_time_on Total off : 300.85123600000003 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 100 time used for this insertion : 0.04466056823730469 photos_removed : len 2 elapsed_time : remove_photo_duplicate 0.05970954895019531 To do, maybe not at the correct place ! .L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.004293918609619141 NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] LLLLLLLLLLLLLLWe filter photos on hashtag condition ! LLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info LLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '25062026', 'map_nb_amount': {0: 9, 1: 0, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.6802551746368, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_25062026_10_15_02_858234_0003.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '25062026', 'map_nb_amount': {0: 14, 1: 5, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 780.2022218704224, 'nb_balles_papier': 0.00027000000000000006, 'begin_time_port': 'image_25062026_14_00_02_839972_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00027000000000000006 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '25062026', 'map_nb_amount': {0: 10, 1: 3, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 300.11084485054016, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_25062026_14_16_02_467585_0002.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00023 We have rejected 16 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 list_same_port_ids : [] ERROR in datou_step_exec, will save and exit ! HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2340, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2524, in datou_step_exec return lib_process.datou_step_split_time_score(param, json_param, args, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_process.py", line 2319, in datou_step_split_time_score one_result = split_port_in_batch_balle( File "/home/admin/workarea/git/Velours/python/misc/split_time_score.py", line 878, in split_port_in_batch_balle list_of_portfolios_created, dict_port = create_portfolio_and_launch_datou_carac(list_of_portfolios_to_create, File "/home/admin/workarea/git/Velours/python/mtr/math_fotonower/timeseries/lib_split_time_score.py", line 3115, in create_portfolio_and_launch_datou_carac portfolio_id = fc.get_new_portfolio(name_port_to_create, verbose) File "/home/admin/workarea/git/Velours/python/mtr/lib/fotonower_api/fotonower_connect.py", line 65, in get_new_portfolio r = requests.get(url) File "/home/admin/.local/lib/python3.8/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/home/admin/.local/lib/python3.8/site-packages/requests/sessions.py", line 725, in send history = [resp for resp in gen] File "/home/admin/.local/lib/python3.8/site-packages/requests/sessions.py", line 725, in history = [resp for resp in gen] File "/home/admin/.local/lib/python3.8/site-packages/requests/sessions.py", line 266, in resolve_redirects resp = self.send( File "/home/admin/.local/lib/python3.8/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/home/admin/.local/lib/python3.8/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) [1420273941, 1420273938, 1420271881, 1420271880, 1420271879, 1420271425, 1420271424, 1420271423, 1420271413, 1420271379, 1420271206, 1420270799, 1420270798, 1420270797, 1420270796, 1420270795, 1420270794, 1420269787, 1420269786, 1420269785, 1420269784, 1420269783, 1420269782, 1420268588, 1420268587, 1420268586, 1420268585, 1420268584, 1420268583, 1420267960, 1420267959, 1420267958, 1420267648, 1420267647, 1420267646, 1420267645, 1420267644, 1420267643, 1420266917, 1420266916, 1420266915, 1420266914, 1420266913, 1420266912, 1420266377, 1420266376, 1420266375, 1420266374, 1420266373, 1420266372, 1420252424, 1420252423, 1420251485, 1420251484, 1420251483, 1420251482, 1420251481, 1420251480, 1420249840, 1420249839, 1420249838, 1420249837, 1420249836, 1420249835, 1420248739, 1420248737, 1420248736, 1420248735, 1420244806, 1420244805, 1420244804, 1420244803, 1420244802, 1420244801, 1420242085, 1420242084, 1420242083, 1420242082, 1420242081, 1420242080, 1420242064, 1420242063, 1420241980, 1420241979, 1420241978, 1420241977, 1420241976, 1420241975, 1420241937, 1420241936, 1420241935, 1420241934, 1420241933, 1420241932, 1420241334, 1420241333, 1420241332, 1420241331, 1420241330, 1420241329] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.05119895935058594 save_final ERROR in last step split_time_score, HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out')) time spend for datou_step_exec : 139.0706124305725 time spend to save output : 0.05661964416503906 total time spend for step 0 : 139.12723207473755 need to delete datou_research and reload, so keep current state 1 need to delete datou_research and reload, so keep current state 1 caffe_path_current : About to save ! 2 After save, about to update current ! 1.43user 0.74system 2:23.28elapsed 1%CPU (0avgtext+0avgdata 118692maxresident)k 0inputs+696outputs (11major+57107minor)pagefaults 0swaps