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 : 1807782 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 : 1691>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/1807782/ 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.4759528636932373 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 08:32: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/1747117948_1807782_1357779304_24fc39805146135bc14871b9dd6bfacc.jpg resize: (1080, 1632) 1357779304 -5.7991298370994215 treat image : temp/1747117948_1807782_1357779283_2821963a056a46e9c213cf9e221309c1.jpg resize: (1080, 1632) 1357779283 -3.29025575751447 treat image : temp/1747117948_1807782_1357779276_f4de8d416efad11f5a73fb99194ad865.jpg resize: (1080, 1632) 1357779276 -5.136597723802329 treat image : temp/1747117948_1807782_1357779254_2b4c7cb1cfc1e0e0017f3a1188910bf0.jpg resize: (1080, 1632) 1357779254 -3.352926409322487 treat image : temp/1747117948_1807782_1357779227_1fcfe192858234f54764d2a06f53a0b4.jpg resize: (1080, 1632) 1357779227 -5.833894712532707 treat image : temp/1747117948_1807782_1357779135_6dd9187e7534205a0f5f82b27700a09f.jpg resize: (1080, 1632) 1357779135 -6.438966533479382 treat image : temp/1747117948_1807782_1357779132_f50b70767451b1d62cd72bd7c5ed26cb.jpg resize: (1080, 1632) 1357779132 -6.697681911981834 treat image : temp/1747117948_1807782_1357779129_ea094c8a453468dd567d677a35a6a0a0.jpg resize: (1080, 1632) 1357779129 -4.746739576197761 treat image : temp/1747117948_1807782_1357779126_59571ab8799cb2c340f8ba76908db3f0.jpg resize: (1080, 1632) 1357779126 -6.29526394070612 treat image : temp/1747117948_1807782_1357779093_ae9d2bb4bb09ebeaea115f55f5870e40.jpg resize: (1080, 1632) 1357779093 -4.98827058125385 treat image : temp/1747117948_1807782_1357779088_055944825c80e606d0405a0d188d8bda.jpg resize: (1080, 1632) 1357779088 -2.480429081677147 treat image : temp/1747117948_1807782_1357779084_c8dbd36bc8fb8e171d6e1801c9a1b529.jpg resize: (1080, 1632) 1357779084 -5.613382517699427 treat image : temp/1747117948_1807782_1357779078_c41c47ed5a67f2ba4a1f3ea215d6f1b9.jpg resize: (1080, 1632) 1357779078 -3.205879796119715 treat image : temp/1747117948_1807782_1357779047_c180682f304f344315bb6f5a7820a7cc.jpg resize: (1080, 1632) 1357779047 -3.5041238552054494 treat image : temp/1747117948_1807782_1357779046_d0f0bf134340f5a5b2f281214b1f7e9d.jpg resize: (1080, 1632) 1357779046 -3.6754322394840004 treat image : temp/1747117948_1807782_1357779043_738fd5c7b0b854c6dfff2135da8ea3a6.jpg resize: (1080, 1632) 1357779043 -5.452740715407041 treat image : temp/1747117948_1807782_1357779000_c9f262649ee4704d3db757b7933a7547.jpg resize: (1080, 1632) 1357779000 -1.189528995757192 treat image : temp/1747117948_1807782_1357778976_e86e6c541b73ad6dd0eae8f2a2582709.jpg resize: (1080, 1632) 1357778976 -2.7922635818110333 treat image : temp/1747117948_1807782_1357778949_b611a6668048f9a7f0392d64fcee88b6.jpg resize: (1080, 1632) 1357778949 -2.8348824821642746 treat image : temp/1747117948_1807782_1357778945_f3439c10861fda42f8096954fe84a104.jpg resize: (1080, 1632) 1357778945 -1.2763445452760642 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.015734434127807617 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.021920204162597656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024028778076171875 save missing photos in datou_result : time spend for datou_step_exec : 16.45411968231201 time spend to save output : 0.06657719612121582 total time spend for step 1 : 16.520696878433228 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 4.72system 0:22.92elapsed 85%CPU (0avgtext+0avgdata 138976maxresident)k 152inputs+9304outputs (0major+260586minor)pagefaults 0swaps