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 : 4081944 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 : 8414>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/4081944/ 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.2595419883728027 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 Aug 1 02:12:29 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/1754007147_4081944_1374701267_146970e33c6b60477d5a69dc5b48023a.jpg resize: (1080, 1632) 1374701267 -4.785362678248124 treat image : temp/1754007147_4081944_1374701264_ca564228bb61663dd2da2c8958478835.jpg resize: (1080, 1632) 1374701264 -1.7066389649161757 treat image : temp/1754007147_4081944_1374701262_7d3343989448f637feef13290fe0531d.jpg resize: (1080, 1632) 1374701262 0.0018819488027223006 treat image : temp/1754007147_4081944_1374701261_bb231fc6ac545d5cdf5420a38e72dd01.jpg resize: (1080, 1632) 1374701261 -2.4498548563273994 treat image : temp/1754007147_4081944_1374701260_4a0645817d883a0a2e27db9c6430153b.jpg resize: (1080, 1632) 1374701260 -5.297195563584064 treat image : temp/1754007147_4081944_1374701258_ab791f1f4dc5f8645e33fa921931ae95.jpg resize: (1080, 1632) 1374701258 -4.8983604223397395 treat image : temp/1754007147_4081944_1374701238_1ce5f908e59aa7c83d37b945546b0c0e.jpg resize: (1080, 1632) 1374701238 -2.7427393837828853 treat image : temp/1754007147_4081944_1374701234_05a5cd19ad3653ddb2f4b993b140c40c.jpg resize: (1080, 1632) 1374701234 -2.8321831067606187 treat image : temp/1754007147_4081944_1374701228_f7c1d67e4f443f3c83cbbc090ec45b44.jpg resize: (1080, 1632) 1374701228 -4.450833275952678 treat image : temp/1754007147_4081944_1374701225_2822715926c71f826bb995a737f21aac.jpg resize: (1080, 1632) 1374701225 -4.907048891343671 treat image : temp/1754007147_4081944_1374701222_c1e1fd48dd76ea2ef61f69f96659db01.jpg resize: (1080, 1632) 1374701222 -3.565279127710311 treat image : temp/1754007147_4081944_1374701218_18561ddc6d335450ff17b07de72b19a0.jpg resize: (1080, 1632) 1374701218 -5.1230683573912765 treat image : temp/1754007147_4081944_1374701197_5274f37d690ef3d3da3e383e0c00e513.jpg resize: (1080, 1632) 1374701197 -4.794637270059889 treat image : temp/1754007147_4081944_1374701195_d5e47ad1cc1fb3af1f15152d5e101962.jpg resize: (1080, 1632) 1374701195 -5.171788308841295 treat image : temp/1754007147_4081944_1374701193_ae337e856d55c369577ea4d494fb0d52.jpg resize: (1080, 1632) 1374701193 -3.362826466576565 treat image : temp/1754007147_4081944_1374701190_354431aef61c154f69cc1ec909e27dc1.jpg resize: (1080, 1632) 1374701190 -1.6436086916899113 treat image : temp/1754007147_4081944_1374701187_eb36f55f131538bb01db3f8f4f79c60a.jpg resize: (1080, 1632) 1374701187 -1.8707668379554436 treat image : temp/1754007147_4081944_1374701183_7c061ca090b94b73bc6c3656b6334785.jpg resize: (1080, 1632) 1374701183 -6.010013806203797 treat image : temp/1754007147_4081944_1374701145_a899597acfa64890fc5cedef00bbc535.jpg resize: (1080, 1632) 1374701145 -5.9523778360078365 treat image : temp/1754007147_4081944_1374701142_18445f1ed800ca47462e5c77fc9c53a4.jpg resize: (1080, 1632) 1374701142 -3.7874909883609176 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.012634038925170898 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.01185750961303711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020045757293701172 save missing photos in datou_result : time spend for datou_step_exec : 14.46976113319397 time spend to save output : 0.04906916618347168 total time spend for step 1 : 14.518830299377441 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.59user 3.35system 0:19.56elapsed 86%CPU (0avgtext+0avgdata 139652maxresident)k 0inputs+8456outputs (0major+173891minor)pagefaults 0swaps