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 : 1996413 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 : 1710>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/1996413/ 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.421083927154541 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 11:32: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/1747733547_1996413_1359796772_a88193070674eaba3a307591d6e3d4bd.jpg resize: (1080, 1632) 1359796772 -5.402025837020598 treat image : temp/1747733547_1996413_1359796766_d162009fa7ddfdb5e9ea6489abf01704.jpg resize: (1080, 1632) 1359796766 -4.457401620872502 treat image : temp/1747733547_1996413_1359796731_56261bf5daa0b63409279783852b6e5c.jpg resize: (1080, 1632) 1359796731 -5.246631706808502 treat image : temp/1747733547_1996413_1359796726_d4fe42b0554824c05f4232354b473510.jpg resize: (1080, 1632) 1359796726 -5.261869858149752 treat image : temp/1747733547_1996413_1359796699_dab7a8cd0d4469d365d4f9524c919aac.jpg resize: (1080, 1632) 1359796699 -5.659033378595081 treat image : temp/1747733547_1996413_1359796695_24a477e59fd59d3a7b5e06b4b56785f8.jpg resize: (1080, 1632) 1359796695 -4.423416697237893 treat image : temp/1747733547_1996413_1359796692_026fc9c9dcdb47e87c8459e2952dc1dd.jpg resize: (1080, 1632) 1359796692 -4.817509823138328 treat image : temp/1747733547_1996413_1359796686_1bfd793e4e67da18554d0bc1512741ed.jpg resize: (1080, 1632) 1359796686 -4.692592716579672 treat image : temp/1747733547_1996413_1359796682_87eea202dc6bee777758b63ab6242238.jpg resize: (1080, 1632) 1359796682 -4.919744377125202 treat image : temp/1747733547_1996413_1359796661_8daf3460bf22e133db91449ebd875be2.jpg resize: (1080, 1632) 1359796661 -1.687665059828829 treat image : temp/1747733547_1996413_1359796658_fb62246cb3737e417c94a97bbd099c1a.jpg resize: (1080, 1632) 1359796658 -1.6932470024621338 treat image : temp/1747733547_1996413_1359796654_d26f7f5eb42bc0c66f99a7a342b22476.jpg resize: (1080, 1632) 1359796654 -4.207103786443524 treat image : temp/1747733547_1996413_1359796650_daf9a281395b9d56663ee318502968a2.jpg resize: (1080, 1632) 1359796650 -5.7407485535818275 treat image : temp/1747733547_1996413_1359796646_43150d2dea4c2934443a0d1adfd28d33.jpg resize: (1080, 1632) 1359796646 -5.04012786627578 treat image : temp/1747733547_1996413_1359796622_85261e92997faa9063061720e19d6b40.jpg resize: (1080, 1632) 1359796622 -6.107082553095812 treat image : temp/1747733547_1996413_1359796593_82ece8d11a81babd898d51da7542179a.jpg resize: (1080, 1632) 1359796593 -5.819247306112356 treat image : temp/1747733547_1996413_1359796588_0d916e9b138fa151c500de0775dcd981.jpg resize: (1080, 1632) 1359796588 -3.782494025318208 treat image : temp/1747733547_1996413_1359796584_8f1b11f70248b8045aa82e78b265c24b.jpg resize: (1080, 1632) 1359796584 -6.106520627769084 treat image : temp/1747733547_1996413_1359796576_8752463224c996b169ed2540ca96bd06.jpg resize: (1080, 1632) 1359796576 -5.490311689148399 treat image : temp/1747733547_1996413_1359796560_981ab3c205a59a85a882c823242d5bc2.jpg resize: (1080, 1632) 1359796560 -1.4106451786255887 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.014849662780761719 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.013847589492797852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014939546585083008 save missing photos in datou_result : time spend for datou_step_exec : 15.506012439727783 time spend to save output : 0.049497127532958984 total time spend for step 1 : 15.555509567260742 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 3.54system 0:19.63elapsed 93%CPU (0avgtext+0avgdata 139360maxresident)k 144inputs+9648outputs (3major+258215minor)pagefaults 0swaps