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 : 1453693 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 updating current state to 1 we have a portfolio with more photos than limit : 2680>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1453693/ 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.548114061355591 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 Sep 4 18:12:31 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/1757002349_1453693_1381467225_0c8627b4422085a78317bcba48c5cc4a_3086391.jpg resize: (1080, 1632) 1381467225 -5.669879168938728 treat image : temp/1757002349_1453693_1381467224_324addc98a9939abb1de8d2970eb172b_94006462.jpg resize: (1080, 1632) 1381467224 -3.647991176250081 treat image : temp/1757002349_1453693_1381467221_833eb5d138ad8082b79c566920f5965a_81564683.jpg resize: (1080, 1632) 1381467221 -5.256287669867284 treat image : temp/1757002349_1453693_1381467220_3eaa0203c3cb42e46ffab9109eb0ed0d_40728639.jpg resize: (1080, 1632) 1381467220 -5.610999639763422 treat image : temp/1757002349_1453693_1381467219_7c507a7a41506cbea3e669ae9a46862e_20864077.jpg resize: (1080, 1632) 1381467219 -5.351975968249459 treat image : temp/1757002349_1453693_1381467218_7420f117960b711d71918bb7ed425d81_47571078.jpg resize: (1080, 1632) 1381467218 -5.855926370948535 treat image : temp/1757002349_1453693_1381449310_18f4939564c46f3261fab7e77672b9ac_82449722.jpg resize: (1080, 1632) 1381449310 -3.9511359555110093 treat image : temp/1757002349_1453693_1381449306_8e6fa6d1c166745c9a2e62a78ba6023e_37607721.jpg resize: (1080, 1632) 1381449306 -3.7266549954820913 treat image : temp/1757002349_1453693_1381449275_0657a357f675c4e008115c64281261ad_4324603.jpg resize: (1080, 1632) 1381449275 -5.175698847982071 treat image : temp/1757002349_1453693_1381449274_0a9478ac31ca72c986aeaee884e220ca_67417403.jpg resize: (1080, 1632) 1381449274 -1.666372996257951 treat image : temp/1757002349_1453693_1381449273_251399df93a541bffb200626be79d61e_37105702.jpg resize: (1080, 1632) 1381449273 -2.830001208820063 treat image : temp/1757002349_1453693_1381449272_476e6531538239ea7d803e75f11ac926_36643669.jpg resize: (1080, 1632) 1381449272 -2.8432713948302495 treat image : temp/1757002349_1453693_1381449271_00dbe7ad766cdb42806556c6f0258af2_42792540.jpg resize: (1080, 1632) 1381449271 -5.581933531645921 treat image : temp/1757002349_1453693_1381449270_8b6160944fdfbd54b66ea1100ab591c4_75406675.jpg resize: (1080, 1632) 1381449270 -4.923406425283611 treat image : temp/1757002349_1453693_1381449252_85b6fcb9fce770f57fec574799b7ea09_64245926.jpg resize: (1080, 1632) 1381449252 -5.052495758949421 treat image : temp/1757002349_1453693_1381449250_22b725066b6c2016c6f5a24a0027d550_57630189.jpg resize: (1080, 1632) 1381449250 -5.133621263549132 treat image : temp/1757002349_1453693_1381449249_9fcd206a731516fb5b1fbd7c3a8ceb3c_72955138.jpg resize: (1080, 1632) 1381449249 -4.544265894608687 treat image : temp/1757002349_1453693_1381449247_a3b4dfc3f826dd0263af98d03d500dfc_16240847.jpg resize: (1080, 1632) 1381449247 -4.074698946873448 treat image : temp/1757002349_1453693_1381449244_d656aacf92bcb500a782e210090c0121_51289068.jpg resize: (1080, 1632) 1381449244 -4.911033883539667 treat image : temp/1757002349_1453693_1381449241_7b336b600a8bf665911050d895de7b86_39196087.jpg resize: (1080, 1632) 1381449241 -5.080850490086417 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.04239463806152344 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.04036355018615723 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.044411659240722656 save missing photos in datou_result : time spend for datou_step_exec : 15.36005449295044 time spend to save output : 0.1458437442779541 total time spend for step 1 : 15.505898237228394 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 3.27system 0:21.92elapsed 82%CPU (0avgtext+0avgdata 140200maxresident)k 1064inputs+9552outputs (19major+253389minor)pagefaults 0swaps