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 : 4128325 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 : 3091>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/4128325/ 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.2436118125915527 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 Tue May 13 20:02: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/1747159347_4128325_1357909357_b55a525ef1dbbc86cab6cd8f7bc78ab4.jpg resize: (1080, 1632) 1357909357 -6.189541561884411 treat image : temp/1747159347_4128325_1357909354_c30fa6ce033b6c5babc6b03049bbf29a.jpg resize: (1080, 1632) 1357909354 -5.738542707786856 treat image : temp/1747159347_4128325_1357909352_6829353604caba9f473801e70f9d79c4.jpg resize: (1080, 1632) 1357909352 -2.948787477334921 treat image : temp/1747159347_4128325_1357909348_165318af4dc6ced8c80ff4dea5769daf.jpg resize: (1080, 1632) 1357909348 0.03926990788977332 treat image : temp/1747159347_4128325_1357909313_532d6968ecab2adca040f6cbe91119fd.jpg resize: (1080, 1632) 1357909313 -5.879071461706978 treat image : temp/1747159347_4128325_1357909308_b00013b0d4902300113f6bf8fa14ca8d.jpg resize: (1080, 1632) 1357909308 -6.079753434327094 treat image : temp/1747159347_4128325_1357909304_6eb40b22017a81b22615565b75ac6cce.jpg resize: (1080, 1632) 1357909304 -6.157197560337822 treat image : temp/1747159347_4128325_1357909299_9e8e0f6cc6ce8619d5c7cfc8ff14f61e.jpg resize: (1080, 1632) 1357909299 -6.223732630220366 treat image : temp/1747159347_4128325_1357909261_beecd5fb99cafea4c12b2837c9936b33.jpg resize: (1080, 1632) 1357909261 -1.831398687416797 treat image : temp/1747159347_4128325_1357909255_dd93e435f4d02cf8fb5540da6ef4a421.jpg resize: (1080, 1632) 1357909255 -2.891232863004533 treat image : temp/1747159347_4128325_1357909250_04a5918cfe7113ddfe7853ecff9fe125.jpg resize: (1080, 1632) 1357909250 -5.00777705702565 treat image : temp/1747159347_4128325_1357909246_a572d79f64fc9c1dd2488c64bc5f55c2.jpg resize: (1080, 1632) 1357909246 -3.9222590467805833 treat image : temp/1747159347_4128325_1357908752_11a2fe3191a5c56c019813656f77922e.jpg resize: (1080, 1632) 1357908752 -5.700571044979153 treat image : temp/1747159347_4128325_1357908708_81b133cd5825174b71591da0e182343b.jpg resize: (1080, 1632) 1357908708 -5.716830491609066 treat image : temp/1747159347_4128325_1357908658_ed01cf5b75ea57242b093535f26778a8.jpg resize: (1080, 1632) 1357908658 -2.682132602756366 treat image : temp/1747159347_4128325_1357906337_3b5e55d81e1db619ab3e27846220ae35.jpg resize: (1080, 1632) 1357906337 -5.655912042890671 treat image : temp/1747159347_4128325_1357906226_3dbacd16332f82e38f323c6e7d714b87.jpg resize: (1080, 1632) 1357906226 -5.673483928683883 treat image : temp/1747159347_4128325_1357906101_453ccd30b367051c2bc7c91db92ea5c7.jpg resize: (1080, 1632) 1357906101 -6.140507490012557 treat image : temp/1747159347_4128325_1357850860_489ccf100a0a807cee1f5ad44b9bbad2.jpg resize: (1080, 1632) 1357850860 -2.0597706772898285 treat image : temp/1747159347_4128325_1357850826_4e42f02b95ee094b157dd362fea552af.jpg resize: (1080, 1632) 1357850826 -3.421694296117135 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.013534307479858398 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.013049125671386719 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016987085342407227 save missing photos in datou_result : time spend for datou_step_exec : 17.384374856948853 time spend to save output : 0.048850297927856445 total time spend for step 1 : 17.43322515487671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 5.50system 0:22.00elapsed 90%CPU (0avgtext+0avgdata 139272maxresident)k 0inputs+9960outputs (14major+257873minor)pagefaults 0swaps