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 : 2747989 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 : 2201>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2747989/ 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.442584991455078 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 20 15:12: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/1747746746_2747989_1359816154_2715f94c96faa855d4a0dcb555a3b8dd.jpg resize: (1080, 1632) 1359816154 -5.247592267201884 treat image : temp/1747746746_2747989_1359816141_d9ac669685f8ef9b8f51f5198357d27e.jpg resize: (1080, 1632) 1359816141 -0.8845776508172858 treat image : temp/1747746746_2747989_1359816066_66d4fd09eb7652a5cd2c3bdfae3a57da.jpg resize: (1080, 1632) 1359816066 -5.128297096946958 treat image : temp/1747746746_2747989_1359816061_2f956c38a07da63a23e67e8d70df1919.jpg resize: (1080, 1632) 1359816061 -4.950585151270701 treat image : temp/1747746746_2747989_1359816017_85cc04076077579610c902b6b7ad6479.jpg resize: (1080, 1632) 1359816017 -5.436423187867879 treat image : temp/1747746746_2747989_1359816008_b4a91124456a478f79345c47331aa6f4.jpg resize: (1080, 1632) 1359816008 -4.425202904214509 treat image : temp/1747746746_2747989_1359815955_c34347e2a3055e5e046bc68a52663d51.jpg resize: (1080, 1632) 1359815955 -4.763941715843556 treat image : temp/1747746746_2747989_1359815947_81920c6fd1bfd660d61ff4acc76d9edb.jpg resize: (1080, 1632) 1359815947 -4.78831693491828 treat image : temp/1747746746_2747989_1359815939_0fa710b3fb9485fc412b89b7bf4c6794.jpg resize: (1080, 1632) 1359815939 -4.872833974428489 treat image : temp/1747746746_2747989_1359813645_f554a0c55eac9bcf38c81124235ef346.jpg resize: (1080, 1632) 1359813645 -3.497555129480042 treat image : temp/1747746746_2747989_1359813640_1cc597d961fe80e4464c03378cd7690d.jpg resize: (1080, 1632) 1359813640 -4.566624140520145 treat image : temp/1747746746_2747989_1359812603_9279ddc1af7aaa730849fb26241a8da4.jpg resize: (1080, 1632) 1359812603 14.369310767647146 treat image : temp/1747746746_2747989_1359812531_13448508cccf98192da134ab5cf544bc.jpg resize: (1080, 1632) 1359812531 -5.476860402392295 treat image : temp/1747746746_2747989_1359812505_ef386defbee23673e97972dba161286f.jpg resize: (1080, 1632) 1359812505 -4.456232197311787 treat image : temp/1747746746_2747989_1359812479_dc64eb7c211d88d10a33cb02eb06167f.jpg resize: (1080, 1632) 1359812479 -4.826918829604485 treat image : temp/1747746746_2747989_1359812446_b7c62477424f3a65a697132f7c48272d.jpg resize: (1080, 1632) 1359812446 -3.8378291377068017 treat image : temp/1747746746_2747989_1359812414_f3424cf92acfeefd6c4755f74c44587d.jpg resize: (1080, 1632) 1359812414 -5.607352496406626 treat image : temp/1747746746_2747989_1359812372_2b0941a10f225c792a63052a0d4d7cda.jpg resize: (1080, 1632) 1359812372 -5.217287865124011 treat image : temp/1747746746_2747989_1359774596_dd1427127c7e01657b51e9ff134ba288.jpg resize: (1080, 1632) 1359774596 -1.8353744457152321 treat image : temp/1747746746_2747989_1359774567_a81b57276d90906adaea4846b478bf54.jpg resize: (1080, 1632) 1359774567 -1.2030268307486325 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.01272726058959961 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.012783050537109375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015131473541259766 save missing photos in datou_result : time spend for datou_step_exec : 16.90776515007019 time spend to save output : 0.04560565948486328 total time spend for step 1 : 16.953370809555054 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.03user 4.51system 0:21.96elapsed 88%CPU (0avgtext+0avgdata 141372maxresident)k 144inputs+8744outputs (13major+255435minor)pagefaults 0swaps