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 : 353646 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/353646/ 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.2508163452148438 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 Wed Sep 17 03:57: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/1758074248_353646_1359422024_f1a7fa653f62b412f77c6964e952ff9c.jpg resize: (1080, 1632) 1359422024 -3.755330488399721 treat image : temp/1758074248_353646_1359422015_6f9a9ab9c916ff8c352b46d591b2a88f.jpg resize: (1080, 1632) 1359422015 -4.603892611204222 treat image : temp/1758074248_353646_1359421987_f9c39086de4fcf6b0fe5b135a202f4fe.jpg resize: (1080, 1632) 1359421987 -5.080567261607329 treat image : temp/1758074248_353646_1359421957_f6571b00ca3b3639f84a001e855f3f9e.jpg resize: (1080, 1632) 1359421957 -4.839308673325719 treat image : temp/1758074248_353646_1359421933_2410d407ea2d4f9ef51970dbbcfccb08.jpg resize: (1080, 1632) 1359421933 -4.834077055886202 treat image : temp/1758074248_353646_1359421926_2234b215e25d8211498d5b93939b71da.jpg resize: (1080, 1632) 1359421926 -4.5399901778732366 treat image : temp/1758074248_353646_1359421674_b318ca1e8b08833d273dbb15614ce1f9.jpg resize: (1080, 1632) 1359421674 -5.189144855445613 treat image : temp/1758074248_353646_1359421662_c7ef73ecf7dfcf760f4f6ac5a3578654.jpg resize: (1080, 1632) 1359421662 -5.233858145021703 treat image : temp/1758074248_353646_1359421631_662744d2fb4fd95d5cd146cd376ac5e7.jpg resize: (1080, 1632) 1359421631 -0.8148318631838625 treat image : temp/1758074248_353646_1359421602_00a205f5dfd74b46319afb0ea8f9c870.jpg resize: (1080, 1632) 1359421602 -2.630745892056737 treat image : temp/1758074248_353646_1359421288_64843074c6530b793ec1f3e08568b44d.jpg resize: (1080, 1632) 1359421288 -4.91346947771683 treat image : temp/1758074248_353646_1359421261_d4ac23acb44226b4b894db15fb5b5677.jpg resize: (1080, 1632) 1359421261 -3.7908829328275933 treat image : temp/1758074248_353646_1359421224_d92918c9d44c2bc6981d9061f90d0872.jpg resize: (1080, 1632) 1359421224 -4.825811872725262 treat image : temp/1758074248_353646_1359421179_0b3b723e101e2bd8ca5476c5be5de25a.jpg resize: (1080, 1632) 1359421179 -4.810445939121483 treat image : temp/1758074248_353646_1359420616_a604a8893ee6e98cedd925d9c4870777.jpg resize: (1080, 1632) 1359420616 -5.510506148623052 treat image : temp/1758074248_353646_1359420558_b0ab49603f737484cace9089ed21a2a9.jpg resize: (1080, 1632) 1359420558 -4.937877857888259 treat image : temp/1758074248_353646_1359420494_572e2b844e85229802ee3d9d1034cb3b.jpg resize: (1080, 1632) 1359420494 -5.8987850423581465 treat image : temp/1758074248_353646_1359420436_9ae611b5b421e753d6843e488ef75f9b.jpg resize: (1080, 1632) 1359420436 -6.038154888074085 treat image : temp/1758074248_353646_1359420381_4e1ec8f92f5e1eaafc64c2f404356f02.jpg resize: (1080, 1632) 1359420381 -5.089933399466354 treat image : temp/1758074248_353646_1359420086_f2bd8b267b177d6b7abf43e4247818b2.jpg resize: (1080, 1632) 1359420086 -1.648611038026612 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.013773441314697266 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.018018484115600586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024929046630859375 save missing photos in datou_result : time spend for datou_step_exec : 15.339707612991333 time spend to save output : 0.06209683418273926 total time spend for step 1 : 15.401804447174072 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 3.32system 0:21.65elapsed 83%CPU (0avgtext+0avgdata 137164maxresident)k 1888inputs+8864outputs (48major+257451minor)pagefaults 0swaps