python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 442286 load datou : 4871 # 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/442286/ 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 : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.775106430053711 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Wed Sep 17 04:42:31 2025 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 inside step blur_detection methode: ratio et variance treat image : temp/1758076947_442286_1359387621_c2923d4de1d0d38939facd068ebc0485.jpg resize: (1080, 1632) 1359387621 -5.53617273451754 treat image : temp/1758076947_442286_1359387617_6c572b61123a425b6d0e6bf297ed391b.jpg resize: (1080, 1632) 1359387617 -5.374148337747666 treat image : temp/1758076947_442286_1359387613_0052c239509a40b315a5a99004c1fb73.jpg resize: (1080, 1632) 1359387613 -5.376298753025238 treat image : temp/1758076947_442286_1359387608_dee3d01895a613bede2a7b2302125ff2.jpg resize: (1080, 1632) 1359387608 -5.434149433656762 treat image : temp/1758076947_442286_1359387605_deb955aaf4121618dbe9deb5eb46a8bb.jpg resize: (1080, 1632) 1359387605 -5.625278802251576 treat image : temp/1758076947_442286_1359387558_749c9dd52418666412720e76f65c4af5.jpg resize: (1080, 1632) 1359387558 -5.544238100295401 treat image : temp/1758076947_442286_1359387537_cf89b5c84c1705e295002f42e4bfdca5.jpg resize: (1080, 1632) 1359387537 -5.954746380861376 treat image : temp/1758076947_442286_1359387529_97c6b40a442b57bf69182c48d6781cda.jpg resize: (1080, 1632) 1359387529 -2.9488678319761306 treat image : temp/1758076947_442286_1359387511_2a71a87f9d13486f2abc166447bbd569.jpg resize: (1080, 1632) 1359387511 -5.7053858898674585 treat image : temp/1758076947_442286_1359387479_67ad2cddb8bb8c76d2130fd8ece9825b.jpg resize: (1080, 1632) 1359387479 -5.161656398536541 treat image : temp/1758076947_442286_1359387473_3855675780a778a800c3c92e0aac0c99.jpg resize: (1080, 1632) 1359387473 -5.162503909291754 treat image : temp/1758076947_442286_1359387359_b6e3a07607d109f34b82ea3c039447d3.jpg resize: (1080, 1632) 1359387359 -1.8007974822437987 treat image : temp/1758076947_442286_1359387355_88ba006cc0aa48a7f1a545e9a46bb9af.jpg resize: (1080, 1632) 1359387355 -1.6740141711312884 treat image : temp/1758076947_442286_1359387351_458081b7e46df8b4bbef9ffe871b319c.jpg resize: (1080, 1632) 1359387351 -5.390577727300739 treat image : temp/1758076947_442286_1359387302_0c1662c97a137e7bfbf7aaca1671ac31.jpg resize: (1080, 1632) 1359387302 -2.5747808943640793 treat image : temp/1758076947_442286_1359387298_8084027088673908f2160a457e207d53.jpg resize: (1080, 1632) 1359387298 -5.0638001891169555 treat image : temp/1758076947_442286_1359387294_65542f4bdb3e3dd117daf168bc2587f3.jpg resize: (1080, 1632) 1359387294 -5.41613806651153 treat image : temp/1758076947_442286_1359387291_b453a0dd340147bbcbaac55afd29a68c.jpg resize: (1080, 1632) 1359387291 -5.675228266119808 treat image : temp/1758076947_442286_1359387287_ff8df4ad65f1d6c550d5a47ce2c6fc17.jpg resize: (1080, 1632) 1359387287 -5.638067812032891 treat image : temp/1758076947_442286_1359387281_9ea1f26fe0b4834e60cdf1d6439457d2.jpg resize: (1080, 1632) 1359387281 -6.470463518956343 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.016312122344970703 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.19084501266479492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1899552345275879 save missing photos in datou_result : time spend for datou_step_exec : 15.241135120391846 time spend to save output : 0.402249813079834 total time spend for step 1 : 15.64338493347168 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 3.65system 0:21.35elapsed 85%CPU (0avgtext+0avgdata 136708maxresident)k 288inputs+10064outputs (14major+259760minor)pagefaults 0swaps