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 : 3959307 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 : 4506>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3959307/ 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.153012752532959 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 Jul 9 20:42: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/1752086547_3959307_1371430661_91b14dc0c2eaf1bf0adacb8133e17652.jpg resize: (1080, 1632) 1371430661 -6.114200412618625 treat image : temp/1752086547_3959307_1371430660_b7b8159324066d9f41ed9f3b7b28d769.jpg resize: (1080, 1632) 1371430660 -5.276401894743167 treat image : temp/1752086547_3959307_1371430659_474c4ade105391c1c8d0d5125c37440e.jpg resize: (1080, 1632) 1371430659 -4.300610155819653 treat image : temp/1752086547_3959307_1371430658_11b2ae724ca5d024ede0cb4b153d4ea0.jpg resize: (1080, 1632) 1371430658 -0.5050359170123432 treat image : temp/1752086547_3959307_1371430651_791e59a0913ae84bd51f07f235618dfc.jpg resize: (1080, 1632) 1371430651 -2.08531958117155 treat image : temp/1752086547_3959307_1371430647_3bf24fc669b611f5308d9813630837f4.jpg resize: (1080, 1632) 1371430647 -2.6080679008331202 treat image : temp/1752086547_3959307_1371430602_e4c0664e3a6a29d870f2bedba598fdee.jpg resize: (1080, 1632) 1371430602 -6.443955465632324 treat image : temp/1752086547_3959307_1371430601_918ad61cde6daec60304ce8b08f50c73.jpg resize: (1080, 1632) 1371430601 -5.262249878856927 treat image : temp/1752086547_3959307_1371430599_cfb52474dbe29fa16b1d2e4acc221207.jpg resize: (1080, 1632) 1371430599 -2.9613915442548495 treat image : temp/1752086547_3959307_1371430598_40ed37122f6886bfd0447f2686aa0e3b.jpg resize: (1080, 1632) 1371430598 -5.210808328115667 treat image : temp/1752086547_3959307_1371430596_641ddb818277ec7148520b0c14298c6d.jpg resize: (1080, 1632) 1371430596 -2.7049014889522236 treat image : temp/1752086547_3959307_1371430594_09e5bce0f4d3c92973a642073c1cd369.jpg resize: (1080, 1632) 1371430594 -2.723510766511892 treat image : temp/1752086547_3959307_1371430592_79ff4393838e0d27fe8c66231fa78cf7.jpg resize: (1080, 1632) 1371430592 -4.396947674043391 treat image : temp/1752086547_3959307_1371430590_392fd636f749a620e77d8adbce42563e.jpg resize: (1080, 1632) 1371430590 -4.553523097236056 treat image : temp/1752086547_3959307_1371430589_f257844b4b7b14ff5f23d3a0fed0c482.jpg resize: (1080, 1632) 1371430589 -5.651356847940691 treat image : temp/1752086547_3959307_1371430588_2a16e85b82640e104fe1252095804cd5.jpg resize: (1080, 1632) 1371430588 -5.597162222589533 treat image : temp/1752086547_3959307_1371430501_505ecf983f6c2d8f67971614e2262b09.jpg resize: (1080, 1632) 1371430501 -1.4658620422346385 treat image : temp/1752086547_3959307_1371430499_69bde95a0810e93f0cf8b2c8c699a584.jpg resize: (1080, 1632) 1371430499 -2.655844011421198 treat image : temp/1752086547_3959307_1371430497_ee57ccb160a6188874efeb483c9f434f.jpg resize: (1080, 1632) 1371430497 -2.6699886746478843 treat image : temp/1752086547_3959307_1371430495_8bcb007ab90291d81002cf5003bb7ac7.jpg resize: (1080, 1632) 1371430495 -0.9934267557335458 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.012887001037597656 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.012689590454101562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015295982360839844 save missing photos in datou_result : time spend for datou_step_exec : 12.90569806098938 time spend to save output : 0.04618477821350098 total time spend for step 1 : 12.95188283920288 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.79user 1.38system 0:16.82elapsed 90%CPU (0avgtext+0avgdata 139596maxresident)k 136inputs+8512outputs (19major+118616minor)pagefaults 0swaps