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 : 3376726 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 : 8466>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3376726/ 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.5989112854003906 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 Sat Jul 5 07:22: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/1751692947_3376726_1370748839_00745a34fdf47e661f4df0d2ac050619.jpg resize: (1080, 1632) 1370748839 -4.799057324348715 treat image : temp/1751692947_3376726_1370748835_592a75d1333c624d6ba338b9433c2f29.jpg resize: (1080, 1632) 1370748835 -4.796616915609236 treat image : temp/1751692947_3376726_1370748831_a55524df00726722f6198682d4d75eb9.jpg resize: (1080, 1632) 1370748831 -4.808116566802952 treat image : temp/1751692947_3376726_1370748829_881a0c0d380cc241d739837b6d093b59.jpg resize: (1080, 1632) 1370748829 -4.781862707516611 treat image : temp/1751692947_3376726_1370748827_3087d3c2440d6bdc11663834249937a2.jpg resize: (1080, 1632) 1370748827 -4.573997901245657 treat image : temp/1751692947_3376726_1370748824_13f25808c13fffe68efa6ca8e459785f.jpg resize: (1080, 1632) 1370748824 -4.567218000267703 treat image : temp/1751692947_3376726_1370748818_42bb0bf29a944676601a07f73cc2819c.jpg resize: (1080, 1632) 1370748818 -4.733688341386933 treat image : temp/1751692947_3376726_1370748814_fa91de65cfb25da544073a4d77bc4602.jpg resize: (1080, 1632) 1370748814 -4.7342256182713545 treat image : temp/1751692947_3376726_1370748812_df338f33cf19fbca16f1cf5382d6d51f.jpg resize: (1080, 1632) 1370748812 -4.093962831931395 treat image : temp/1751692947_3376726_1370748810_5e7464f86d30e397c40b7048b018a607.jpg resize: (1080, 1632) 1370748810 -4.944751703046771 treat image : temp/1751692947_3376726_1370748796_922d20ac71782b80df86ba61de2167d5.jpg resize: (1080, 1632) 1370748796 -4.930416461589439 treat image : temp/1751692947_3376726_1370748784_924768198fe9d531c91990738c4bc80a.jpg resize: (1080, 1632) 1370748784 -4.540372135093603 treat image : temp/1751692947_3376726_1370715139_96135e14d18564285af9ec177739bc40.jpg resize: (1080, 1632) 1370715139 -4.253838961965704 treat image : temp/1751692947_3376726_1370715122_ce12dc83ef2c4a9cbf7b167d5c78c5c7.jpg resize: (1080, 1632) 1370715122 -4.280922682776618 treat image : temp/1751692947_3376726_1370715006_3c3b752289201e29df53e4c8fb6c056c.jpg resize: (1080, 1632) 1370715006 -4.285249787221325 treat image : temp/1751692947_3376726_1370715003_a6b6653f715d80935c1b90cc7a0aca76.jpg resize: (1080, 1632) 1370715003 -4.297061481198967 treat image : temp/1751692947_3376726_1370714993_408073d21b689750c29d141d3e99e407.jpg resize: (1080, 1632) 1370714993 -4.296084669958462 treat image : temp/1751692947_3376726_1370714988_f526b8d7e6a450c5e173a59f79cc7741.jpg resize: (1080, 1632) 1370714988 -4.301316761535724 treat image : temp/1751692947_3376726_1370714985_b79156b5b6babd0f492c5519e8a10787.jpg resize: (1080, 1632) 1370714985 -4.3208747866710855 treat image : temp/1751692947_3376726_1370714982_655997e9a88e1209dd6667703271fc94.jpg resize: (1080, 1632) 1370714982 -4.342578660336666 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.01819300651550293 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.08343386650085449 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0907893180847168 save missing photos in datou_result : time spend for datou_step_exec : 17.595484495162964 time spend to save output : 0.19758892059326172 total time spend for step 1 : 17.793073415756226 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 5.88system 0:22.20elapsed 91%CPU (0avgtext+0avgdata 137296maxresident)k 152inputs+8808outputs (9major+257981minor)pagefaults 0swaps