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 : 4166330 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/4166330/ 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.1628735065460205 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 Jul 18 21: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/1752865948_4166330_1372319540_b0716495258d417bf1d961533deaab2b.jpg resize: (1080, 1632) 1372319540 -4.424222646165348 treat image : temp/1752865948_4166330_1372319536_1fe1a11b997dfa24e0012629fccb4fbf.jpg resize: (1080, 1632) 1372319536 -4.426326800525448 treat image : temp/1752865948_4166330_1372319533_3bbf43ce7c3894e0528abf0a7e2a4a9d.jpg resize: (1080, 1632) 1372319533 -4.43064940792421 treat image : temp/1752865948_4166330_1372319529_83ec672d91dc2c70ec8331b0ea1bb7eb.jpg resize: (1080, 1632) 1372319529 -4.433181516111484 treat image : temp/1752865948_4166330_1372319525_43d1fa033a15207016591f5ae6e9c527.jpg resize: (1080, 1632) 1372319525 -4.42834599182167 treat image : temp/1752865948_4166330_1372319511_5f6351b40323643dd4cf168ee595f473.jpg resize: (1080, 1632) 1372319511 -2.1244140319377474 treat image : temp/1752865948_4166330_1372319508_a3a9baa84c5dd6ab430c0373388f1ff2.jpg resize: (1080, 1632) 1372319508 -1.082668221803 treat image : temp/1752865948_4166330_1372319504_6f2cfeda816c084e88cf77a7d0119e09.jpg resize: (1080, 1632) 1372319504 -1.4964982296593197 treat image : temp/1752865948_4166330_1372319502_0e700bbaf597c1f0151271b0a7fe3955.jpg resize: (1080, 1632) 1372319502 -4.44205499713298 treat image : temp/1752865948_4166330_1372319500_4932f538d5ec5458ee2341516a9c5812.jpg resize: (1080, 1632) 1372319500 -4.440261717963049 treat image : temp/1752865948_4166330_1372319498_81f244c585d6bbfae71c3dc81d4c8e43.jpg resize: (1080, 1632) 1372319498 -4.448622730046303 treat image : temp/1752865948_4166330_1372319482_93231b4ef2638bd9d55ed626688b78a0.jpg resize: (1080, 1632) 1372319482 -3.422726223237305 treat image : temp/1752865948_4166330_1372319477_19da6b6862a9efd3febe0035b18ede85.jpg resize: (1080, 1632) 1372319477 -5.688323478488176 treat image : temp/1752865948_4166330_1372319472_6e0374ecac5ce7adecae457bd7c13e8b.jpg resize: (1080, 1632) 1372319472 -3.8912747273080286 treat image : temp/1752865948_4166330_1372319469_0dadae5b0b1bd685a9bdbcb63acfa037.jpg resize: (1080, 1632) 1372319469 -1.5417727528746066 treat image : temp/1752865948_4166330_1372319465_76e75019cbdc55cff814811ce891dd32.jpg resize: (1080, 1632) 1372319465 -2.166043443802501 treat image : temp/1752865948_4166330_1372319461_5b35977ecbdf580a3795ab2d50175f1b.jpg resize: (1080, 1632) 1372319461 -2.1471780931707034 treat image : temp/1752865948_4166330_1372319445_05dffa3c4d3d86138b104036be334cf2.jpg resize: (1080, 1632) 1372319445 -5.5165258855766615 treat image : temp/1752865948_4166330_1372319440_604a17f4f963061a8ef9b4d38bf32b80.jpg resize: (1080, 1632) 1372319440 -5.519870844247103 treat image : temp/1752865948_4166330_1372319436_19b8a217d97a2f17c39a37c5f0ff810e.jpg resize: (1080, 1632) 1372319436 -5.529861380241134 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.012677669525146484 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.011852025985717773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014014005661010742 save missing photos in datou_result : time spend for datou_step_exec : 16.573878526687622 time spend to save output : 0.04333209991455078 total time spend for step 1 : 16.617210626602173 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 5.33system 0:22.85elapsed 84%CPU (0avgtext+0avgdata 139388maxresident)k 0inputs+8280outputs (1major+258954minor)pagefaults 0swaps