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 : 2561339 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 : 2586>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2561339/ 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 : 3.3362467288970947 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 Apr 2 17:47:30 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/1743608846_2561339_1349490633_35ca8fe52aa309718b445dc2d6d73cb4.jpg resize: (1080, 1632) 1349490633 -6.192180630695917 treat image : temp/1743608846_2561339_1349490626_cce177966fb5f17398af60292949ce91.jpg resize: (1080, 1632) 1349490626 -5.885191442353311 treat image : temp/1743608846_2561339_1349490621_37438067a0c74b8d8382cb8a4ce217d0.jpg resize: (1080, 1632) 1349490621 -3.739581463674688 treat image : temp/1743608846_2561339_1349490592_22d2d4f1966a82f3f275eda3e0832b79.jpg resize: (1080, 1632) 1349490592 -5.391975520390135 treat image : temp/1743608846_2561339_1349490587_6ec5d9eb701dd447f17c3fc7c8c2438a.jpg resize: (1080, 1632) 1349490587 -4.081716310327021 treat image : temp/1743608846_2561339_1349490581_ff0fb3ead4ce5f5a7cf1d69b0110748c.jpg resize: (1080, 1632) 1349490581 -5.507167098568136 treat image : temp/1743608846_2561339_1349490575_40279e97eec5c96b02d2cde99e70dce8.jpg resize: (1080, 1632) 1349490575 -5.702045961904173 treat image : temp/1743608846_2561339_1349490570_29d33227742b4da04923e57aa59a9458.jpg resize: (1080, 1632) 1349490570 -5.8290657752472095 treat image : temp/1743608846_2561339_1349490540_5bcbffbfda38860ae278545162f61b86.jpg resize: (1080, 1632) 1349490540 -1.5821020550372276 treat image : temp/1743608846_2561339_1349490532_4adcc7ef0777d8119a3c47ac28bf9e22.jpg resize: (1080, 1632) 1349490532 -2.8301163524956827 treat image : temp/1743608846_2561339_1349490524_0d91695615c7349ca123e5156eb97270.jpg resize: (1080, 1632) 1349490524 -5.842629789983903 treat image : temp/1743608846_2561339_1349490517_4d978052e9c07ae00bf36908bea2295f.jpg resize: (1080, 1632) 1349490517 -5.493357081147038 treat image : temp/1743608846_2561339_1349490509_15f3e29e470f4ee1fd3284524cb1b5aa.jpg resize: (1080, 1632) 1349490509 -6.109492677891702 treat image : temp/1743608846_2561339_1349490472_f99ec5678cd2c2953d6de9b50998d263.jpg resize: (1080, 1632) 1349490472 -5.399602938019838 treat image : temp/1743608846_2561339_1349490467_973eb0cd716a2679fc74fe7e78ed8ba4.jpg resize: (1080, 1632) 1349490467 -5.8565043174544895 treat image : temp/1743608846_2561339_1349490464_f4f93f87e227c1b139a62165929f797c.jpg resize: (1080, 1632) 1349490464 -6.151639349905157 treat image : temp/1743608846_2561339_1349490461_070c0f27277f3c23d36896c4d990ab65.jpg resize: (1080, 1632) 1349490461 -5.985162874674035 treat image : temp/1743608846_2561339_1349490457_901b0d68d9b76cabd2ba7f1bc31a4746.jpg resize: (1080, 1632) 1349490457 -6.018527256099175 treat image : temp/1743608846_2561339_1349490432_82acc567c8b1f2a185ce3d38a945b54f.jpg resize: (1080, 1632) 1349490432 -0.46680863060416194 treat image : temp/1743608846_2561339_1349490426_ca490da98ed4a7a9cf243ff6a4bb33f5.jpg resize: (1080, 1632) 1349490426 -4.0144180663466145 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.1396777629852295 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.012888193130493164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01503896713256836 save missing photos in datou_result : time spend for datou_step_exec : 18.68801236152649 time spend to save output : 0.17226958274841309 total time spend for step 1 : 18.860281944274902 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.28user 5.86system 0:23.95elapsed 88%CPU (0avgtext+0avgdata 137456maxresident)k 112inputs+10144outputs (14major+264168minor)pagefaults 0swaps