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 : 93368 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 : 3677>100 please execute split_portfolio.py -i 21995993 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2718254'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/93368/ 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.2025556564331055 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 Thu Apr 3 18:42: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/1743698550_93368_1349836953_523d16714aa000910639bc43f52e7ec2.jpg resize: (1080, 1632) 1349836953 -6.162724554004278 treat image : temp/1743698550_93368_1349836950_cc8ced74d95a56b9a0f6dd50cbcebcaf.jpg resize: (1080, 1632) 1349836950 -4.381506860770687 treat image : temp/1743698550_93368_1349836948_e43c685c80afc9f443e033769feb15a8.jpg resize: (1080, 1632) 1349836948 -5.707485097781449 treat image : temp/1743698550_93368_1349836942_ba17cd1bf5148155fd504f6169abc327.jpg resize: (1080, 1632) 1349836942 -6.304687978101476 treat image : temp/1743698550_93368_1349836935_e3c4ba6d11631c365995fb880578ce6d.jpg resize: (1080, 1632) 1349836935 -5.60915620303915 treat image : temp/1743698550_93368_1349836930_d2b5b6f9f3e8ea22f93fe81644f9b026.jpg resize: (1080, 1632) 1349836930 -6.164132444985477 treat image : temp/1743698550_93368_1349836832_b81cb2d0af81d20e83aa69a3e4a7210c.jpg resize: (1080, 1632) 1349836832 -5.591823247718841 treat image : temp/1743698550_93368_1349836829_6b2926e3fcc9b2b4b92beb50ddf7e65e.jpg resize: (1080, 1632) 1349836829 -5.591823247718841 treat image : temp/1743698550_93368_1349836827_2d455c45e168ae20480026f2812cdfac.jpg resize: (1080, 1632) 1349836827 -5.38100407290561 treat image : temp/1743698550_93368_1349836824_cc2e9539ba1c66b9b466d72403ea0573.jpg resize: (1080, 1632) 1349836824 -5.38100407290561 treat image : temp/1743698550_93368_1349836794_9d9121806dc61135d33dae72243b9447.jpg resize: (1080, 1632) 1349836794 -4.623893785066885 treat image : temp/1743698550_93368_1349836773_d8363694fc0a528b401c9288b948e0cb.jpg resize: (1080, 1632) 1349836773 -5.153835246047744 treat image : temp/1743698550_93368_1349836754_c1f2470feac9b14191792acac2a0069f.jpg resize: (1080, 1632) 1349836754 -1.3271672448933425 treat image : temp/1743698550_93368_1349836732_80276b38b8d8989864ba1e003f15e69d.jpg resize: (1080, 1632) 1349836732 -2.4285221389247464 treat image : temp/1743698550_93368_1349836707_54f46e6a43b62e10ec08bae3fd7b0798.jpg resize: (1080, 1632) 1349836707 -3.7485310008041424 treat image : temp/1743698550_93368_1349836692_b0533fb66e8dd838a6b4303329c88790.jpg resize: (1080, 1632) 1349836692 -5.829523891230753 treat image : temp/1743698550_93368_1349823010_3a830863e9decc592ba6be575083b9a4.jpg resize: (1080, 1632) 1349823010 -5.064427986058642 treat image : temp/1743698550_93368_1349823006_7fe71d30d1dbe89439d83a56aeeca82f.jpg resize: (1080, 1632) 1349823006 -5.278628467586077 treat image : temp/1743698550_93368_1349823002_078628ef15e07a95c29a4059c727a5cf.jpg resize: (1080, 1632) 1349823002 -5.586093700627224 treat image : temp/1743698550_93368_1349822999_7d9446c9545527217d27e9ccaf45a346.jpg resize: (1080, 1632) 1349822999 -5.987811629839125 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.024026155471801758 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.024104833602905273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024736642837524414 save missing photos in datou_result : time spend for datou_step_exec : 20.079161643981934 time spend to save output : 0.08378863334655762 total time spend for step 1 : 20.16295027732849 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 8.02system 0:26.98elapsed 85%CPU (0avgtext+0avgdata 138868maxresident)k 4592inputs+10328outputs (28major+257741minor)pagefaults 0swaps