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 : 2686881 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/2686881/ 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 : 4.308396100997925 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 Jul 18 05:27: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/1752809247_2686881_1372326531_53b2b62ad2bcd209759446abcb9d4cec.jpg resize: (1080, 1632) 1372326531 -5.669058456624883 treat image : temp/1752809247_2686881_1372326508_f48968584a97fb4ce2e6142ce8ff2676.jpg resize: (1080, 1632) 1372326508 -4.667377908406823 treat image : temp/1752809247_2686881_1372326505_f8b7c74f966131b7f135fc421a114ac0.jpg resize: (1080, 1632) 1372326505 -5.690286849022279 treat image : temp/1752809247_2686881_1372326504_fb4e5afe62fac91336d2097456e9a07b.jpg resize: (1080, 1632) 1372326504 -6.15019174469006 treat image : temp/1752809247_2686881_1372326503_f5490c496b73a8b7e63596b7982592ca.jpg resize: (1080, 1632) 1372326503 -3.8699325093332697 treat image : temp/1752809247_2686881_1372326501_df18b80eea6063725fc9590ac4b4b534.jpg resize: (1080, 1632) 1372326501 -5.311823075594826 treat image : temp/1752809247_2686881_1372326499_6dd9b41e6f7345155de3da00728517a0.jpg resize: (1080, 1632) 1372326499 -5.059598316491659 treat image : temp/1752809247_2686881_1372326472_6947c79e3834a2f9377cb57f4c3790bc.jpg resize: (1080, 1632) 1372326472 -5.021285084105335 treat image : temp/1752809247_2686881_1372326469_4ba4c226875eddc12b1c71f647955cae.jpg resize: (1080, 1632) 1372326469 -4.797382845766756 treat image : temp/1752809247_2686881_1372326468_32c7f792f5b2ebea13288492d04f33fa.jpg resize: (1080, 1632) 1372326468 -1.391246414037563 treat image : temp/1752809247_2686881_1372326467_00e434f0c71ee351b76d821bf4f23f96.jpg resize: (1080, 1632) 1372326467 -2.578950649542787 treat image : temp/1752809247_2686881_1372326466_d71854e955afb9236bdac10e5b3b3912.jpg resize: (1080, 1632) 1372326466 -1.6607552820233658 treat image : temp/1752809247_2686881_1372326464_463a03d77690001e151ffeb109d7dc6d.jpg resize: (1080, 1632) 1372326464 -2.496672361106885 treat image : temp/1752809247_2686881_1372326447_ea2c78b2014ce9e640bc67115546b42d.jpg resize: (1080, 1632) 1372326447 -4.5391397261164395 treat image : temp/1752809247_2686881_1372326443_983b3d1b653709a021ad5644ce5569f8.jpg resize: (1080, 1632) 1372326443 -5.031657563388369 treat image : temp/1752809247_2686881_1372326439_70b31a5666ae820a4fda5c253a5dd049.jpg resize: (1080, 1632) 1372326439 -5.035186317079805 treat image : temp/1752809247_2686881_1372326437_c5abbeabec59ae6274aa56ba9ea45647.jpg resize: (1080, 1632) 1372326437 -5.2366394189499665 treat image : temp/1752809247_2686881_1372326434_00fbcdd68503a80d81cd5549a1d89050.jpg resize: (1080, 1632) 1372326434 -2.7241694154051608 treat image : temp/1752809247_2686881_1372326431_e7e5e9587f07348d7ca02c7ae30d1471.jpg resize: (1080, 1632) 1372326431 -5.330485250011871 treat image : temp/1752809247_2686881_1372326403_b9afff089a7415a81a6eb2576b1a5b28.jpg resize: (1080, 1632) 1372326403 -1.991072456950128 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.0157010555267334 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.21847105026245117 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.038773298263549805 save missing photos in datou_result : time spend for datou_step_exec : 15.196528911590576 time spend to save output : 0.2812526226043701 total time spend for step 1 : 15.477781534194946 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.55system 0:21.16elapsed 83%CPU (0avgtext+0avgdata 139388maxresident)k 152inputs+9128outputs (0major+255846minor)pagefaults 0swaps