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 : 4018436 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 : 2943>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/4018436/ 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.410663604736328 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 May 21 19:52: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/1747849948_4018436_1360137720_600a991db7e9c82be11e20f043898b7b.jpg resize: (1080, 1632) 1360137720 -1.9614479117767996 treat image : temp/1747849948_4018436_1360137716_7ffabff8647480284beb95b3257e6332.jpg resize: (1080, 1632) 1360137716 -1.982804220197597 treat image : temp/1747849948_4018436_1360137691_9f726071d4cbc9b5fc94e8d9c5504e5d.jpg resize: (1080, 1632) 1360137691 -2.2843051609332847 treat image : temp/1747849948_4018436_1360137665_36acf8e4dfe624cf1306f4aad3ee9ad9.jpg resize: (1080, 1632) 1360137665 -4.770533747752728 treat image : temp/1747849948_4018436_1360137250_bc3fb3637c4ba08451d7ca533d34151b.jpg resize: (1080, 1632) 1360137250 -5.722606516258546 treat image : temp/1747849948_4018436_1360137181_579e2d71cb2affb94d6cd4ffcb2cfaaa.jpg resize: (1080, 1632) 1360137181 -3.209030571880596 treat image : temp/1747849948_4018436_1360137128_b1df3b01b846af20a5d29243ad9fc1b2.jpg resize: (1080, 1632) 1360137128 -5.508603318609001 treat image : temp/1747849948_4018436_1360137077_5e6d751e8689b507dad23cd574e55387.jpg resize: (1080, 1632) 1360137077 -6.124768102838466 treat image : temp/1747849948_4018436_1360137013_1287c31929387e7282779a6c941ac1bf.jpg resize: (1080, 1632) 1360137013 -0.32769864315661856 treat image : temp/1747849948_4018436_1360136385_fdc5e66692e7fc995f562ed7eb2d9660.jpg resize: (1080, 1632) 1360136385 -5.528507015415941 treat image : temp/1747849948_4018436_1360136317_4240e6c5f7305ac57e0c2b4fd8b1829f.jpg resize: (1080, 1632) 1360136317 -5.441412672174611 treat image : temp/1747849948_4018436_1360136268_d62e6865e6cc5dd95694adfdd9571e9e.jpg resize: (1080, 1632) 1360136268 -5.430136214829374 treat image : temp/1747849948_4018436_1360136203_f1cd752b7b90aed85ae2f67bce0734b4.jpg resize: (1080, 1632) 1360136203 -4.570417456578643 treat image : temp/1747849948_4018436_1360135695_a083ca76f78847829d71c6ea806fd81b.jpg resize: (1080, 1632) 1360135695 -1.5090752464487809 treat image : temp/1747849948_4018436_1360135692_56401b0c3a5becd06d4a731dc45d56d0.jpg resize: (1080, 1632) 1360135692 -3.0835561967935736 treat image : temp/1747849948_4018436_1360135688_781253f017d3976be46e1c8051564f5e.jpg resize: (1080, 1632) 1360135688 -4.829911109836583 treat image : temp/1747849948_4018436_1360135671_d512dc82e1b44ce9c76e9a5bb2bd6e98.jpg resize: (1080, 1632) 1360135671 -5.685976537073477 treat image : temp/1747849948_4018436_1360135352_e5f0246aa1b187eabecd2ce1b9414b6c.jpg resize: (1080, 1632) 1360135352 -2.8708561715946077 treat image : temp/1747849948_4018436_1360135306_f4c41a356d33e792670257d979941be1.jpg resize: (1080, 1632) 1360135306 -5.694361381276993 treat image : temp/1747849948_4018436_1360135281_53fceb192f76a2de6ca9ac9de33c849e.jpg resize: (1080, 1632) 1360135281 -5.67920363581534 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.01660442352294922 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.013112783432006836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016036033630371094 save missing photos in datou_result : time spend for datou_step_exec : 15.33020281791687 time spend to save output : 0.050334930419921875 total time spend for step 1 : 15.380537748336792 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 3.42system 0:20.81elapsed 86%CPU (0avgtext+0avgdata 138076maxresident)k 136inputs+9056outputs (6major+257949minor)pagefaults 0swaps