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 : 750976 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 : 8491>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/750976/ 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.4777069091796875 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 Fri Aug 1 10:07:30 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/1754035647_750976_1374651654_66889c0023bdf9af7a32567e6a264c22.jpg resize: (1080, 1632) 1374651654 -0.968237903486365 treat image : temp/1754035647_750976_1374651620_9c237125fc053f3f0e86ed55e6310edf.jpg resize: (1080, 1632) 1374651620 -6.082976088677896 treat image : temp/1754035647_750976_1374651599_84f605a23ab5d80eb2c9a4e6a116452b.jpg resize: (1080, 1632) 1374651599 -4.069952711035685 treat image : temp/1754035647_750976_1374651594_4eaad604b9dd58a151fd64a262295451.jpg resize: (1080, 1632) 1374651594 -5.582269014222597 treat image : temp/1754035647_750976_1374651592_689d94c860f8d1baff52899d97b73a35.jpg resize: (1080, 1632) 1374651592 -5.348839501851579 treat image : temp/1754035647_750976_1374651578_5508caa47665e9c10d7759bebb7b9c0c.jpg resize: (1080, 1632) 1374651578 -5.259960144358194 treat image : temp/1754035647_750976_1374651544_dbd0b2936d607fed0942c59c4e985eff.jpg resize: (1080, 1632) 1374651544 -4.654598614186977 treat image : temp/1754035647_750976_1374651164_f8a30c69c9cb7a7d3e382b71b4ed9377.jpg resize: (1080, 1632) 1374651164 -4.425630224942261 treat image : temp/1754035647_750976_1374651138_29779b9e5ee3f45cd2b2349c4d00a964.jpg resize: (1080, 1632) 1374651138 -4.720578155202572 treat image : temp/1754035647_750976_1374651106_673205b0cdd4119680b0c7f37b86a850.jpg resize: (1080, 1632) 1374651106 -3.110549771615492 treat image : temp/1754035647_750976_1374651072_e8f3fef0bad2c8f7a37c38628e9f01fd.jpg resize: (1080, 1632) 1374651072 -1.2464343780820377 treat image : temp/1754035647_750976_1374651045_dfb48dfff65c020e538d14c0a1fb7903.jpg resize: (1080, 1632) 1374651045 -5.581377734037164 treat image : temp/1754035647_750976_1374651015_a7de3c18a9296b7a2550c70fc8681971.jpg resize: (1080, 1632) 1374651015 -5.012047208195313 treat image : temp/1754035647_750976_1374650834_e223bd15fa6470f02643ad0ef725f4dd.jpg resize: (1080, 1632) 1374650834 -5.207499443499978 treat image : temp/1754035647_750976_1374650832_55417f99029b36e05f0b50c19951090d.jpg resize: (1080, 1632) 1374650832 -4.8644170901433155 treat image : temp/1754035647_750976_1374650831_1a582aab3db8028c2a7daaf47e297593.jpg resize: (1080, 1632) 1374650831 -4.6952767654572325 treat image : temp/1754035647_750976_1374650829_79c59c03fc6abe6b96a9f7372d84f445.jpg resize: (1080, 1632) 1374650829 -4.738782117684018 treat image : temp/1754035647_750976_1374650827_7fb622e2c4d6377172bed27fde22edc5.jpg resize: (1080, 1632) 1374650827 -5.219469506404609 treat image : temp/1754035647_750976_1374650826_c3a8e284c5f9f0e76c1b151983194af8.jpg resize: (1080, 1632) 1374650826 -4.810279145792322 treat image : temp/1754035647_750976_1374650800_8eb953297e6aa40166e332760edd09cc.jpg resize: (1080, 1632) 1374650800 -1.134294673163721 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.011742353439331055 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.015051603317260742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014931917190551758 save missing photos in datou_result : time spend for datou_step_exec : 19.44147229194641 time spend to save output : 0.04660439491271973 total time spend for step 1 : 19.48807668685913 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 7.54system 0:25.39elapsed 87%CPU (0avgtext+0avgdata 140664maxresident)k 232inputs+9088outputs (15major+250783minor)pagefaults 0swaps