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 : 2769018 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 : 2073>100 please execute split_portfolio.py -i 24901762 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3277872'] with mtr_portfolio_ids : ['24901762'] and first list_photo_ids : [] new path : /proc/2769018/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.1118967533111572 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 Mon Jul 14 11:02:29 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/1752483747_2769018_1372099068_038ff5dcc76bb9524924af99391e9544.jpg resize: (1080, 1632) 1372099068 -5.413220473899132 treat image : temp/1752483747_2769018_1372099042_73ca524bcee0c040b2bd0827fc67d847.jpg resize: (1080, 1632) 1372099042 -5.517159613380025 treat image : temp/1752483747_2769018_1372099022_8f73eff00ec5f6f04d1d22e5102ed9a8.jpg resize: (1080, 1632) 1372099022 -5.611593460961163 treat image : temp/1752483747_2769018_1372098996_d325ea9e6c45e194a554c2cba05e05f7.jpg resize: (1080, 1632) 1372098996 -5.373556682144564 treat image : temp/1752483747_2769018_1372098977_19ca2c0e92ed66bd10b54b04d8751c53.jpg resize: (1080, 1632) 1372098977 -5.403708665604952 treat image : temp/1752483747_2769018_1372098960_bf1611cd54919cd3bc4f1a031bd155eb.jpg resize: (1080, 1632) 1372098960 -5.377212375739766 treat image : temp/1752483747_2769018_1372098590_8a06d7ce2b7b04ffe194c61de79a03bd.jpg resize: (1080, 1632) 1372098590 -5.38271163947782 treat image : temp/1752483747_2769018_1372098588_ba50532d9aaa917b6f1e49b44f9b50ce.jpg resize: (1080, 1632) 1372098588 -5.406854380060674 treat image : temp/1752483747_2769018_1372098586_30c5d42b0a91cb1890d89d1d89efac5a.jpg resize: (1080, 1632) 1372098586 -5.481653991949132 treat image : temp/1752483747_2769018_1372098584_1e51b0ecc809946a0c205664a3c8d9df.jpg resize: (1080, 1632) 1372098584 -5.573047821006775 treat image : temp/1752483747_2769018_1372098582_28329e6253a43b06f394e76316b6cb3f.jpg resize: (1080, 1632) 1372098582 -5.394666399952666 treat image : temp/1752483747_2769018_1372098581_bf62cc088db2f0b32a4d4947cafd4880.jpg resize: (1080, 1632) 1372098581 -5.482845096767023 treat image : temp/1752483747_2769018_1372098166_e3ca17ca236352aa29271cb17c5c2e74.jpg resize: (1080, 1632) 1372098166 -5.683766001523813 treat image : temp/1752483747_2769018_1372098113_1c8020347c93714f6b00952e90af98e3.jpg resize: (1080, 1632) 1372098113 -5.578505398206374 treat image : temp/1752483747_2769018_1372098062_e1979d7c5e776ae35d52ce0c5308c942.jpg resize: (1080, 1632) 1372098062 -5.505084187238165 treat image : temp/1752483747_2769018_1372098014_f21c42443e6c85ba2f5fa55f61578ccf.jpg resize: (1080, 1632) 1372098014 -5.375183660052646 treat image : temp/1752483747_2769018_1372097958_601bb67e8fa328c8b4213808d774e443.jpg resize: (1080, 1632) 1372097958 -5.366404284260192 treat image : temp/1752483747_2769018_1372097908_e01d58bf9ade192000a72ddc508ee4dd.jpg resize: (1080, 1632) 1372097908 -5.3725225287830085 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 : 18 time used for this insertion : 0.012727975845336914 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012005329132080078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.012944698333740234 save missing photos in datou_result : time spend for datou_step_exec : 13.383641958236694 time spend to save output : 0.04235553741455078 total time spend for step 1 : 13.425997495651245 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.63user 3.17system 0:17.65elapsed 89%CPU (0avgtext+0avgdata 141520maxresident)k 0inputs+8784outputs (2major+238571minor)pagefaults 0swaps