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 : 3208094 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 : 224>100 please execute split_portfolio.py -i 21131516 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2646570'] with mtr_portfolio_ids : ['21131516'] and first list_photo_ids : [] new path : /proc/3208094/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.6812546253204346 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 Fri Mar 7 14:52: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/1741355549_3208094_1341471205_8e1f7091440b9fbc534455e06fa484c8.jpg resize: (1080, 1632) 1341471205 -6.400182206612976 treat image : temp/1741355549_3208094_1341471200_91bd46461897dd1f27da8f755a7a6005.jpg resize: (1080, 1632) 1341471200 -6.740920808467769 treat image : temp/1741355549_3208094_1341471174_c4ccc814d65cc7efcc7a45b6c39810ad.jpg resize: (1080, 1632) 1341471174 -6.6419560970693325 treat image : temp/1741355549_3208094_1341471090_94d401041103000aac65272fc557f9f5.jpg resize: (1080, 1632) 1341471090 -2.1978246836911097 treat image : temp/1741355549_3208094_1341471087_989b7e1e69fd92a76e822c61e87401d6.jpg resize: (1080, 1632) 1341471087 -2.467541835791088 treat image : temp/1741355549_3208094_1341471081_cece9a687ea6bd6536703b588aaa492f.jpg resize: (1080, 1632) 1341471081 -6.140638902243211 treat image : temp/1741355549_3208094_1341471075_4dbee89d59652e2f0e09fd1fa3b5462d.jpg resize: (1080, 1632) 1341471075 -6.3815492005344705 treat image : temp/1741355549_3208094_1341471007_e735341ee4c3dcc757f2f4c3fe1117e7.jpg resize: (1080, 1632) 1341471007 -6.171548173747867 treat image : temp/1741355549_3208094_1341471003_06254ec18f4453dd4c03f62e66225f47.jpg resize: (1080, 1632) 1341471003 -6.257647862203704 treat image : temp/1741355549_3208094_1341470997_4ff3a7f3bd14fd4a63f854aa33a65d1a.jpg resize: (1080, 1632) 1341470997 -5.824392316194908 treat image : temp/1741355549_3208094_1341470991_d6975dc3557e3dc57ff7101193db4680.jpg resize: (1080, 1632) 1341470991 -4.144981589221368 treat image : temp/1741355549_3208094_1341470965_f13df424be335e681d2554a238255c9e.jpg resize: (1080, 1632) 1341470965 -6.491022994723164 treat image : temp/1741355549_3208094_1341470961_b54dc4cb366dca341c33adaa37a8860e.jpg resize: (1080, 1632) 1341470961 -5.166041564601679 treat image : temp/1741355549_3208094_1341470952_ce837d123f34cd14f1de80e9e7c5c4f4.jpg resize: (1080, 1632) 1341470952 -5.952958137366467 treat image : temp/1741355549_3208094_1341470940_cfa9d615dba2e98d39274614f256b023.jpg resize: (1080, 1632) 1341470940 -6.0600612801739375 treat image : temp/1741355549_3208094_1341470929_00df801846d55ae1afc56b8fe70a4f91.jpg resize: (1080, 1632) 1341470929 -4.736003236285333 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 : 16 time used for this insertion : 0.012890100479125977 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.01269388198852539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.11398887634277344 save missing photos in datou_result : time spend for datou_step_exec : 15.09818720817566 time spend to save output : 0.14446783065795898 total time spend for step 1 : 15.242655038833618 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 12.33user 5.40system 0:21.91elapsed 80%CPU (0avgtext+0avgdata 140004maxresident)k 112inputs+9536outputs (2major+157299minor)pagefaults 0swaps