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 : 1045718 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/1045718/ 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.410895586013794 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 Sat Jul 19 04:42: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/1752892946_1045718_1372312964_7f9a6bfaee81898b87776890be549def.jpg resize: (1080, 1632) 1372312964 -5.549676773874946 treat image : temp/1752892946_1045718_1372312950_9888b939fb20566379e9ed3ce95cdb71.jpg resize: (1080, 1632) 1372312950 -5.2103585013406155 treat image : temp/1752892946_1045718_1372312946_a499479efbd00e9d4a7b42ab434d7ed1.jpg resize: (1080, 1632) 1372312946 -5.2001153544757965 treat image : temp/1752892946_1045718_1372312942_e0aa104347529b8dc1a9b921e2641286.jpg resize: (1080, 1632) 1372312942 -5.210877399268158 treat image : temp/1752892946_1045718_1372312938_81ba538659ef05a098948f2ab2843736.jpg resize: (1080, 1632) 1372312938 -5.194978602277072 treat image : temp/1752892946_1045718_1372312932_69640a33a4a621c9f88bac589a06c1c2.jpg resize: (1080, 1632) 1372312932 -5.125616847611343 treat image : temp/1752892946_1045718_1372312921_815885be39b27b6e85734f06bca92202.jpg resize: (1080, 1632) 1372312921 -5.215805498551983 treat image : temp/1752892946_1045718_1372312901_11c1da9381c752afe0dc7ae7e9e4825e.jpg resize: (1080, 1632) 1372312901 -5.042594127972515 treat image : temp/1752892946_1045718_1372312895_c4704436bf2fb1fa15b726c0be280f68.jpg resize: (1080, 1632) 1372312895 -5.045599687380999 treat image : temp/1752892946_1045718_1372312890_e9138feafd4437a3b2b2c5b584e8858d.jpg resize: (1080, 1632) 1372312890 -5.22326757994578 treat image : temp/1752892946_1045718_1372312886_f8b30cbbb1185035b0836c3e0f453f72.jpg resize: (1080, 1632) 1372312886 -5.207968246189806 treat image : temp/1752892946_1045718_1372312881_1081d8f91ec59f81ad62d537d71c06c8.jpg resize: (1080, 1632) 1372312881 -5.219258241846551 treat image : temp/1752892946_1045718_1372312870_1eebc6a90147ae49291b67462303f38e.jpg resize: (1080, 1632) 1372312870 -5.224583191603317 treat image : temp/1752892946_1045718_1372312849_ea37474c0ca40b4db82bd2d1005ede0a.jpg resize: (1080, 1632) 1372312849 -2.6173276421208476 treat image : temp/1752892946_1045718_1372312844_cf3ce81cec680fc3cb36eaef6c7ad608.jpg resize: (1080, 1632) 1372312844 -2.9285905361043207 treat image : temp/1752892946_1045718_1372312839_b821c0f6c7c9422c28cd0002af83ed17.jpg resize: (1080, 1632) 1372312839 -3.839885715939125 treat image : temp/1752892946_1045718_1372312834_a5e8090ea5b3163efc79e7cf6c94f974.jpg resize: (1080, 1632) 1372312834 -5.214545794024021 treat image : temp/1752892946_1045718_1372312830_5e76b4275432158f6713a2945a0de21d.jpg resize: (1080, 1632) 1372312830 -6.12864116257745 treat image : temp/1752892946_1045718_1372312820_e09ca7b4dbe89b9c7553a485d6a10756.jpg resize: (1080, 1632) 1372312820 -5.058568318146761 treat image : temp/1752892946_1045718_1372312802_453965ab9bf50336d64879b06aedd634.jpg resize: (1080, 1632) 1372312802 -3.4580125829539505 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.013292789459228516 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.3189876079559326 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022958993911743164 save missing photos in datou_result : time spend for datou_step_exec : 14.446794033050537 time spend to save output : 0.3610832691192627 total time spend for step 1 : 14.8078773021698 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.72user 3.74system 0:20.48elapsed 85%CPU (0avgtext+0avgdata 137716maxresident)k 128inputs+9728outputs (1major+256170minor)pagefaults 0swaps