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 : 848277 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-06-30 08:35:29.342399 Current got : datou_id : 4189, datou_cur_ids : ['4387654'] with mtr_portfolio_ids : ['31174158'] and first list_photo_ids : [] new path : /proc/848277/ 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.018635034561157227 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Jun 30 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', 113),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 101} L24062026 31174158 Nombre de photos uploadées : 113 / 23040 (0%) 24062026 31174158 Nombre de photos taguées (types de déchets): 101 / 113 (89%) 24062026 31174158 Nombre de photos taguées (volume) : 101 / 113 (89%) elapsed_time : load_data_split_time_score 7.152557373046875e-07 elapsed_time : order_list_meta_photo_and_scores 2.7418136596679688e-05 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL???????????? elapsed_time : fill_and_build_computed_from_old_data 0.004548549652099609 LCatched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.0768129825592041 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 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 elapsed_time : list_photo_by_hashtags 0.011375904083251953 Creating list_photo_total elapsed_time : select_descriptors 8.774444103240967 24062026 31174158 Nombre de photos avec descriptors (type 5680) : 100 / 112 (89%) Missing descriptors for photos 0 and 1420165025 L0:00:00|ON:Missing descriptors for photos 1420165025 and 1420165026 LMissing descriptors for photos 1420165026 and 1420165027 LMissing descriptors for photos 1420165027 and 1420165028 LMissing descriptors for photos 1420165028 and 1420165029 LMissing descriptors for photos 1420165029 and 1420165030 LMissing descriptors for photos 1420165030 and 1420165850 LMissing descriptors for photos 1420165850 and 1420165851 LMissing descriptors for photos 1420165851 and 1420165852 LMissing descriptors for photos 1420165852 and 1420165853 LMissing descriptors for photos 1420165853 and 1420165854 LMissing descriptors for photos 1420165854 and 1420165855 LERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1420166452 photo_id_prec : 1420165855 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:11:59.029089|OFF:LLL0:01:00.785749|ON:LLLLLLLLLLLLLLLLLL0:02:59.501884|OFF:L0:00:00|ON:LLLL0:00:00|OFF:LLLLLLLLLLL0:00:59.835576|ON:LLLLLLLLLLLLLLL0:02:00.726520|OFF:L0:00:00|ON:LLL0:00:59.872884|OFF:L0:00:00|ON:LL0:00:00|OFF:L0:00:00|ON:LL0:00:00|OFF:L0:00:00|ON:LLLLL0:00:59.908714|OFF:LLL0:00:00|ON:LLLLL0:00:59.853418|OFF:L0:00:00|ON:LLLL 24062026 Removing 16 photos because of the 'same image' condition Total on : 1198.8925089999998 list_time_on Total off : 120.62132500000001 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 113 time used for this insertion : 0.04161810874938965 photos_removed : len 16 elapsed_time : remove_photo_duplicate 0.06172800064086914 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.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.004690647125244141 NUMBER BATCH : 2 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] LLLLLLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info LLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24062026', 'map_nb_amount': {0: 6, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 239.3548710346222, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_24062026_10_21_03_168536_0002.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00011 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '24062026', 'map_nb_amount': {0: 51, 1: 19, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 779.62917304039, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_24062026_10_30_03_053197_0001.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007300000000000013 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 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) [1420200982, 1420200981, 1420199651, 1420199650, 1420199649, 1420199648, 1420199647, 1420199646, 1420197939, 1420197938, 1420197937, 1420197635, 1420197634, 1420197633, 1420197632, 1420197381, 1420196773, 1420194757, 1420194756, 1420194754, 1420194753, 1420194752, 1420194751, 1420189745, 1420189744, 1420189743, 1420189742, 1420189741, 1420189740, 1420186262, 1420186261, 1420186260, 1420186259, 1420186258, 1420186257, 1420185349, 1420185348, 1420185347, 1420185346, 1420185345, 1420185344, 1420182273, 1420182272, 1420182271, 1420181847, 1420181846, 1420181845, 1420181844, 1420181843, 1420181842, 1420180942, 1420180941, 1420180940, 1420180939, 1420180938, 1420180937, 1420178222, 1420178149, 1420178148, 1420177761, 1420177760, 1420177759, 1420175530, 1420175529, 1420175039, 1420175038, 1420175037, 1420175036, 1420174142, 1420174141, 1420174140, 1420174139, 1420174138, 1420174137, 1420173333, 1420173332, 1420173331, 1420173330, 1420173329, 1420173328, 1420172891, 1420172890, 1420172889, 1420172888, 1420172887, 1420172886, 1420169920, 1420169919, 1420169918, 1420169917, 1420169916, 1420169915, 1420167617, 1420167616, 1420167615, 1420167614, 1420167613, 1420167612, 1420166517, 1420166480] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 100 time used for this insertion : 0.0370330810546875 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 : 140.26032948493958 time spend to save output : 0.04234504699707031 total time spend for step 0 : 140.30267453193665 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.36user 0.79system 2:23.93elapsed 1%CPU (0avgtext+0avgdata 118628maxresident)k 136inputs+848outputs (20major+57064minor)pagefaults 0swaps