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 : 3663015 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 : 733>100 please execute split_portfolio.py -i 22807051 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2809551'] with mtr_portfolio_ids : ['22807051'] and first list_photo_ids : [] new path : /proc/3663015/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9419329166412354 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 May 9 08:02: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/1746770549_3663015_1357133536_cb7238d09f177962d427339f851df50d.jpg resize: (1080, 1632) 1357133536 -6.561370235175812 treat image : temp/1746770549_3663015_1357133489_2cfc9208373424ab98fa67a850d699ee.jpg resize: (1080, 1632) 1357133489 -6.241129369308433 treat image : temp/1746770549_3663015_1357133462_d252472bc4c1794ea5004e7ea84bb0b4.jpg resize: (1080, 1632) 1357133462 -4.928093278448512 treat image : temp/1746770549_3663015_1357133433_15c9a3493fc17581801602f6b229ff1a.jpg resize: (1080, 1632) 1357133433 -5.656339819407224 treat image : temp/1746770549_3663015_1357133417_5ecd765cbde6cf46da7b15fe2589b00a.jpg resize: (1080, 1632) 1357133417 -5.919526600287212 treat image : temp/1746770549_3663015_1357132822_0b861e4a62bfd35a5fbedb94f8ef636f.jpg resize: (1080, 1632) 1357132822 -1.3522272821889165 treat image : temp/1746770549_3663015_1357132768_1ff46fe80244ff93209fc3b81d455043.jpg resize: (1080, 1632) 1357132768 -5.200221264791451 treat image : temp/1746770549_3663015_1357132713_93cf483fcbbbce669c10378c1ffc8c31.jpg resize: (1080, 1632) 1357132713 -5.490462489705498 treat image : temp/1746770549_3663015_1357132437_7452bb1fb0b7d435fa5327b8b9af6606.jpg resize: (1080, 1632) 1357132437 -6.492653507254811 treat image : temp/1746770549_3663015_1357132361_452926d17cff19c871b72e41b84b0733.jpg resize: (1080, 1632) 1357132361 -6.279457978283002 treat image : temp/1746770549_3663015_1357132277_31b9b8f831985c49cbd3da0ac98788e7.jpg resize: (1080, 1632) 1357132277 -6.474808390092726 treat image : temp/1746770549_3663015_1357132198_e7b4fb7ee8a13225ab97e0d9a578e89c.jpg resize: (1080, 1632) 1357132198 -2.9248974538893973 treat image : temp/1746770549_3663015_1357131950_15a38a1bbdbd2cd258a8ba7817545d44.jpg resize: (1080, 1632) 1357131950 -5.596033824664109 treat image : temp/1746770549_3663015_1357131900_ebfd3e83446569c290bede5b8d9a6a10.jpg resize: (1080, 1632) 1357131900 -5.128549046249427 treat image : temp/1746770549_3663015_1357131846_8212b290982783ce56b8663bf9e83722.jpg resize: (1080, 1632) 1357131846 -5.119972501022667 treat image : temp/1746770549_3663015_1357131784_bfb54f42bb9fe76dba1cd883ef224d59.jpg resize: (1080, 1632) 1357131784 -6.1288256860004 treat image : temp/1746770549_3663015_1357131722_8750038164ea6de79ef0ddf51c9a2afb.jpg resize: (1080, 1632) 1357131722 -4.688541770849178 treat image : temp/1746770549_3663015_1357131639_25f55b3901c7787b5f124bfb70a719e6.jpg resize: (1080, 1632) 1357131639 -5.438070441412819 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 : 18 time used for this insertion : 0.012641191482543945 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.014079570770263672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01991438865661621 save missing photos in datou_result : time spend for datou_step_exec : 14.225586652755737 time spend to save output : 0.05314016342163086 total time spend for step 1 : 14.278726816177368 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.40user 3.05system 0:19.88elapsed 82%CPU (0avgtext+0avgdata 137852maxresident)k 0inputs+9992outputs (7major+236270minor)pagefaults 0swaps