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 : 1426948 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 : 2883>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1426948/ 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.3539998531341553 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 Tue Sep 9 16:57:28 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/1757429846_1426948_1382783268_762aa28a0d6342ec303d222ff02c35a1.jpg resize: (1080, 1632) 1382783268 -2.7653982456142274 treat image : temp/1757429846_1426948_1382783267_7ea2516cc37626a65497735abdb5ab8f.jpg resize: (1080, 1632) 1382783267 -3.9467782376240943 treat image : temp/1757429846_1426948_1382783266_97784aef5a54a70f60e639cc39ea769e.jpg resize: (1080, 1632) 1382783266 -1.222799696142924 treat image : temp/1757429846_1426948_1382783264_a3ca75c3c4c9b91c6101618e022ba3ac.jpg resize: (1080, 1632) 1382783264 -0.7518256567065563 treat image : temp/1757429846_1426948_1382783262_fe3ac0a56fe07c646c4c0f9059d6dff1.jpg resize: (1080, 1632) 1382783262 -3.587785625883826 treat image : temp/1757429846_1426948_1382783260_e952dc835fb94c43775fe726223fea87.jpg resize: (1080, 1632) 1382783260 -5.237273146193321 treat image : temp/1757429846_1426948_1382783245_897560c0d520950b85ec82c67222e20f.jpg resize: (1080, 1632) 1382783245 -3.547593819855438 treat image : temp/1757429846_1426948_1382783242_2394d907d11a6abf2f3f66094f61f50a.jpg resize: (1080, 1632) 1382783242 -4.97215627809688 treat image : temp/1757429846_1426948_1382783240_1f2b25edff55fe5a58a780e1bfe0d4b2.jpg resize: (1080, 1632) 1382783240 -5.563618569088034 treat image : temp/1757429846_1426948_1382783237_b6ea14ce87ed60e3fcf08b4b81b8a565.jpg resize: (1080, 1632) 1382783237 -3.6346047808314585 treat image : temp/1757429846_1426948_1382783225_364d02671b29e99a514589002ec5cc3d.jpg resize: (1080, 1632) 1382783225 -2.7653982456142274 treat image : temp/1757429846_1426948_1382783223_12fb17506b2f654bdcdc345f93c53a17.jpg resize: (1080, 1632) 1382783223 -3.9467782376240943 treat image : temp/1757429846_1426948_1382783215_a965c32c9b6c6109fef1cf88acdcfe4a.jpg resize: (1080, 1632) 1382783215 -4.736761787890165 treat image : temp/1757429846_1426948_1382783214_149eb8d20de7cb2d0fc89c96c984b65c.jpg resize: (1080, 1632) 1382783214 -5.9103815171088225 treat image : temp/1757429846_1426948_1382783212_5ae6a9d073db5a97bfef206ba9707fc6.jpg resize: (1080, 1632) 1382783212 -3.9854552499204057 treat image : temp/1757429846_1426948_1382783210_9583bbaebdde90a9c54abd0a212cdf42.jpg resize: (1080, 1632) 1382783210 -3.4665133984845227 treat image : temp/1757429846_1426948_1382783208_6f2231201fbbb011390bd4e55e6ebb3a.jpg resize: (1080, 1632) 1382783208 -3.8275787605958977 treat image : temp/1757429846_1426948_1382783203_6c941002694f52836c1290d5f4d51814.jpg resize: (1080, 1632) 1382783203 -3.3425866827608464 treat image : temp/1757429846_1426948_1382783202_de77d47eadd37b6a07f758b0e35175fa.jpg resize: (1080, 1632) 1382783202 -5.78763200346115 treat image : temp/1757429846_1426948_1382783198_102def894ac64b1b7cced5350ccc39f3.jpg resize: (1080, 1632) 1382783198 -5.4705438048903865 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.035593509674072266 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.03440380096435547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03756880760192871 save missing photos in datou_result : time spend for datou_step_exec : 14.252743482589722 time spend to save output : 0.12365531921386719 total time spend for step 1 : 14.376398801803589 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.48user 2.88system 0:19.06elapsed 85%CPU (0avgtext+0avgdata 139584maxresident)k 24inputs+9232outputs (15major+261820minor)pagefaults 0swaps