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 : 1873360 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 : 823>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1873360/ 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.1823203563690186 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 14 08:12:32 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/1747203150_1873360_1358100818_75d34cc7bd6c2d8e9f91059bf671e40d.jpg resize: (1080, 1632) 1358100818 -3.9507667767406174 treat image : temp/1747203150_1873360_1358100816_2060ef302472f41c6ea860b01e4d6abb.jpg resize: (1080, 1632) 1358100816 -5.4562506556793755 treat image : temp/1747203150_1873360_1358100813_58a8d4c67cd4ba3e2fa87208d64645d6.jpg resize: (1080, 1632) 1358100813 -4.211719216199631 treat image : temp/1747203150_1873360_1358100810_36fc98be6e73b546bc723fdaec4fe275.jpg resize: (1080, 1632) 1358100810 -6.55565406117759 treat image : temp/1747203150_1873360_1358100807_e1afd6163b34f4231bc2ae8e78024888.jpg resize: (1080, 1632) 1358100807 -5.853134312559991 treat image : temp/1747203150_1873360_1358100765_e2f5c754011a3c63b6608782f0663b1a.jpg resize: (1080, 1632) 1358100765 -5.3787765196326625 treat image : temp/1747203150_1873360_1358100762_df153434fb83fee8161edff503a34e85.jpg resize: (1080, 1632) 1358100762 -1.99787215130616 treat image : temp/1747203150_1873360_1358100759_6968ccab095a3ae7fa99d197a840bab8.jpg resize: (1080, 1632) 1358100759 -1.7363188146353055 treat image : temp/1747203150_1873360_1358100715_7a4815fff5caf7a1ff6af4acdad4b98f.jpg resize: (1080, 1632) 1358100715 -5.642209535305363 treat image : temp/1747203150_1873360_1358100712_d13c57962b891f43a5048ca7741c61fb.jpg resize: (1080, 1632) 1358100712 -3.577019729060382 treat image : temp/1747203150_1873360_1358100710_0059717a64912586ecb29315ddbddb40.jpg resize: (1080, 1632) 1358100710 -6.421083351966789 treat image : temp/1747203150_1873360_1358100706_92ed965e9b40f4dceb4eb338c811416d.jpg resize: (1080, 1632) 1358100706 -6.609396384030387 treat image : temp/1747203150_1873360_1358100703_f627bb7c11a44ac5f275424ba4d40cfa.jpg resize: (1080, 1632) 1358100703 -5.759928257270325 treat image : temp/1747203150_1873360_1358100685_6631d6f4bb87410da6f3c2230302cc0b.jpg resize: (1080, 1632) 1358100685 -5.551984526747794 treat image : temp/1747203150_1873360_1358100683_c6e793e8a84f4a17c5b14df7f593b3ba.jpg resize: (1080, 1632) 1358100683 -5.534925201982176 treat image : temp/1747203150_1873360_1358100675_4912368bc43bd81e64e46a3fce631ed0.jpg resize: (1080, 1632) 1358100675 -2.473405218783976 treat image : temp/1747203150_1873360_1358100671_38bf432239cb9cdf53ecfd5fdb53ddd6.jpg resize: (1080, 1632) 1358100671 -5.997869772615374 treat image : temp/1747203150_1873360_1358100666_5c0030c3788c8ab6cd76ac8482ee5590.jpg resize: (1080, 1632) 1358100666 -4.266006557042836 treat image : temp/1747203150_1873360_1358100640_7199771833c0d1b842e07a09f78c9252.jpg resize: (1080, 1632) 1358100640 -1.934635379202838 treat image : temp/1747203150_1873360_1358100637_1f93d87e339034bbd28ccbd5d76ca62e.jpg resize: (1080, 1632) 1358100637 -1.0629311452338486 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.013844728469848633 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.15406203269958496 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.3240516185760498 save missing photos in datou_result : time spend for datou_step_exec : 16.288472652435303 time spend to save output : 0.4964015483856201 total time spend for step 1 : 16.784874200820923 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 4.43system 0:23.42elapsed 81%CPU (0avgtext+0avgdata 138172maxresident)k 632inputs+9968outputs (15major+262631minor)pagefaults 0swaps