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 : 1690110 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 : 668>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1690110/ 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 : 2.2712676525115967 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 Thu May 22 07:42:32 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/1747892550_1690110_1360433860_8d6fbf076757e7f74430d27c487c1e59.jpg resize: (1080, 1632) 1360433860 -1.8837633780622558 treat image : temp/1747892550_1690110_1360433819_ec6a119e2d96b35b35e7231efbe6ed31.jpg resize: (1080, 1632) 1360433819 -5.73134462789083 treat image : temp/1747892550_1690110_1360433816_65eab6ad1b70fc83067d30695da74403.jpg resize: (1080, 1632) 1360433816 -5.595773086028641 treat image : temp/1747892550_1690110_1360433812_c529cede81885bc0c67ef9ff4ad95470.jpg resize: (1080, 1632) 1360433812 -5.163662571763848 treat image : temp/1747892550_1690110_1360433617_bd437f9bb8aa6662ae1a36367f2859a1.jpg resize: (1080, 1632) 1360433617 -6.011743658912126 treat image : temp/1747892550_1690110_1360433613_b5327bd7f9a6c628602062f6cb30be54.jpg resize: (1080, 1632) 1360433613 -5.427557543474379 treat image : temp/1747892550_1690110_1360433608_31ef6879d997ef87e8112b8c09b58f19.jpg resize: (1080, 1632) 1360433608 -5.5946206406325985 treat image : temp/1747892550_1690110_1360433605_3f6bf7c41efd05808e50e4f66a5f2218.jpg resize: (1080, 1632) 1360433605 -6.060309582941463 treat image : temp/1747892550_1690110_1360433337_d550e1303c16dba4ccb38b8ef2c3e3cd.jpg resize: (1080, 1632) 1360433337 -6.210384046816819 treat image : temp/1747892550_1690110_1360433294_f1fcec2eb823c31bf06ae375010bb3c9.jpg resize: (1080, 1632) 1360433294 -5.9144555300020745 treat image : temp/1747892550_1690110_1360433247_dc5a3cd85a80957c84d988c1c71054ce.jpg resize: (1080, 1632) 1360433247 -5.5042249460064205 treat image : temp/1747892550_1690110_1360432992_389947e353cf2db16bc9fceb91d077de.jpg resize: (1080, 1632) 1360432992 -1.4602074500670181 treat image : temp/1747892550_1690110_1360432975_65548fcf5e9148e5b949d0718b876b06.jpg resize: (1080, 1632) 1360432975 -3.145259459516234 treat image : temp/1747892550_1690110_1360432945_e79976d96a7fe4030331fe6c7fcaa209.jpg resize: (1080, 1632) 1360432945 -1.4513982809847281 treat image : temp/1747892550_1690110_1360432923_a8e488037b4d6244bdaa7a73ae754021.jpg resize: (1080, 1632) 1360432923 -4.654043656994403 treat image : temp/1747892550_1690110_1360432920_a676d2226b785cfcf44fabc0f6213b0d.jpg resize: (1080, 1632) 1360432920 -5.5349239964024415 treat image : temp/1747892550_1690110_1360415378_8a0d2235ac4f40d95517cadb35fb75a1.jpg resize: (1080, 1632) 1360415378 -2.9238935504256705 treat image : temp/1747892550_1690110_1360415347_9e7c28b02bdef79974c963d2d7784e58.jpg resize: (1080, 1632) 1360415347 -3.2903361523799286 treat image : temp/1747892550_1690110_1360415319_a7c76e7f34fef42f1ab2d3498f7aa07c.jpg resize: (1080, 1632) 1360415319 -2.7567516364114666 treat image : temp/1747892550_1690110_1360414174_8d2954115cf791be1daa87b6192ac64d.jpg resize: (1080, 1632) 1360414174 -4.894713670596508 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.014396190643310547 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.08655786514282227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.042505502700805664 save missing photos in datou_result : time spend for datou_step_exec : 16.622153997421265 time spend to save output : 0.1483931541442871 total time spend for step 1 : 16.77054715156555 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.00user 4.55system 0:23.39elapsed 83%CPU (0avgtext+0avgdata 138176maxresident)k 3024inputs+9752outputs (14major+258607minor)pagefaults 0swaps