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 : 2951935 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/2951935/ 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 : 4.068676471710205 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 16 15:12:33 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/1758028349_2951935_1383576599_c6b14b6657c3f4808a35f0f4484aed0f.jpg resize: (1080, 1632) 1383576599 -4.969236762861155 treat image : temp/1758028349_2951935_1383576572_0752f669e316085cf7dff27af54c4362.jpg resize: (1080, 1632) 1383576572 -4.79365051060658 treat image : temp/1758028349_2951935_1383576544_8aa833ae3d314346f530588d46868a79.jpg resize: (1080, 1632) 1383576544 -5.313063455412248 treat image : temp/1758028349_2951935_1383576518_793bf8142c89e49449c430b21ddd89a8.jpg resize: (1080, 1632) 1383576518 -5.438431031871764 treat image : temp/1758028349_2951935_1383576490_47c89f2a53719ad07ef04e16c62384a3.jpg resize: (1080, 1632) 1383576490 -4.224717274385493 treat image : temp/1758028349_2951935_1383575971_21bd539dd015060abf0df558d450fef4.jpg resize: (1080, 1632) 1383575971 -5.332748912757264 treat image : temp/1758028349_2951935_1383575923_e95d360f3dacb23ed402206d67ec0e1e.jpg resize: (1080, 1632) 1383575923 -5.7574740608723545 treat image : temp/1758028349_2951935_1383575877_73ce0a9d6d02726681ee34155f00cc35.jpg resize: (1080, 1632) 1383575877 -5.71684931952269 treat image : temp/1758028349_2951935_1383575824_4ed597fb1894c63865f6874e2e3f5dd1.jpg resize: (1080, 1632) 1383575824 -5.434190233416352 treat image : temp/1758028349_2951935_1383575572_85d0f8c0ae48597094b26f2e1178cad8.jpg resize: (1080, 1632) 1383575572 -2.5395525540909687 treat image : temp/1758028349_2951935_1383575545_6f4b5020336d833d42980985ffc733a9.jpg resize: (1080, 1632) 1383575545 -1.3564591539830457 treat image : temp/1758028349_2951935_1383575518_a27ea48e851e1fa55cf192df96cb449d.jpg resize: (1080, 1632) 1383575518 -4.071221215920782 treat image : temp/1758028349_2951935_1383575491_81a75a20f1807ae878b2589d3d82db7a.jpg resize: (1080, 1632) 1383575491 -5.405423991142218 treat image : temp/1758028349_2951935_1383575466_8b1da50ccfdd331710ba548209bdfea9.jpg resize: (1080, 1632) 1383575466 -4.031266015878006 treat image : temp/1758028349_2951935_1383575318_dc72917495086a60f4436d443c14f8d8.jpg resize: (1080, 1632) 1383575318 -4.84910234316939 treat image : temp/1758028349_2951935_1383574946_edef8c5469805a1ca331812f4e97c6b1.jpg resize: (1080, 1632) 1383574946 -1.247093148172085 treat image : temp/1758028349_2951935_1383574923_431177536a34af8da58646086b9b68b2.jpg resize: (1080, 1632) 1383574923 -2.201243913044107 treat image : temp/1758028349_2951935_1383574893_11448145c299c552211137fadb8d4bb6.jpg resize: (1080, 1632) 1383574893 -5.150507692676133 treat image : temp/1758028349_2951935_1383574890_13c4caaf84227c0e56c904efb264ff34.jpg resize: (1080, 1632) 1383574890 -4.59115850043018 treat image : temp/1758028349_2951935_1383574888_aedc02cc93c275e1acb262390717b7f6.jpg resize: (1080, 1632) 1383574888 -4.5347435760292365 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.012727737426757812 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.014029502868652344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015048503875732422 save missing photos in datou_result : time spend for datou_step_exec : 15.603841543197632 time spend to save output : 0.048027992248535156 total time spend for step 1 : 15.651869535446167 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.82user 3.59system 0:24.21elapsed 76%CPU (0avgtext+0avgdata 138740maxresident)k 40inputs+9280outputs (2major+260056minor)pagefaults 0swaps