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 : 2871213 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 : 1313>100 please execute split_portfolio.py -i 22447564 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2763831'] with mtr_portfolio_ids : ['22447564'] and first list_photo_ids : [] new path : /proc/2871213/ 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.0472004413604736 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 Mon Apr 28 17:07: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/1745852847_2871213_1353952384_64b4df28841258bdbf0487acdaff06d6.jpg resize: (1080, 1632) 1353952384 -1.2460967020246487 treat image : temp/1745852847_2871213_1353952381_1a104d5ed37be688d498d0b170e5b1e0.jpg resize: (1080, 1632) 1353952381 -3.415135600403903 treat image : temp/1745852847_2871213_1353952378_bc544a47aeef14058725c2f591e563b5.jpg resize: (1080, 1632) 1353952378 -4.298818380333209 treat image : temp/1745852847_2871213_1353952373_47dbee653a96e1001a237b22246fcbb5.jpg resize: (1080, 1632) 1353952373 -5.100608568048009 treat image : temp/1745852847_2871213_1353952364_0d089af0e71e7eeda881dce683aaee09.jpg resize: (1080, 1632) 1353952364 -5.8526390357733495 treat image : temp/1745852847_2871213_1353934527_1ded4c49a29df70a28b9a873167328f9.jpg resize: (1080, 1632) 1353934527 -4.49390462982846 treat image : temp/1745852847_2871213_1353934508_bca9751f1a3d14170e1cfa8c521ccbb3.jpg resize: (1080, 1632) 1353934508 -6.249177518587918 treat image : temp/1745852847_2871213_1353934500_b6a290c0534ed7153425d354549a3e3d.jpg resize: (1080, 1632) 1353934500 -5.502047350927968 treat image : temp/1745852847_2871213_1353933984_f618a469a4358a31641081ff5bd6861e.jpg resize: (1080, 1632) 1353933984 -4.9482100770068085 treat image : temp/1745852847_2871213_1353933868_ee25956cec8022a07e2549180b78968c.jpg resize: (1080, 1632) 1353933868 -5.476242746716235 treat image : temp/1745852847_2871213_1353933861_7b8e017ca032663cc799ba494ad7d21a.jpg resize: (1080, 1632) 1353933861 -6.019069164864984 treat image : temp/1745852847_2871213_1353933847_b701eef85c5408ebfa2cf345b67f3fa4.jpg resize: (1080, 1632) 1353933847 -5.879835508544857 treat image : temp/1745852847_2871213_1353933843_8b6fd1983460aa0b9c36ce816f364466.jpg resize: (1080, 1632) 1353933843 -5.700380769986163 treat image : temp/1745852847_2871213_1353933839_e8367b2cfeef63ba1543e6f9ee7557d8.jpg resize: (1080, 1632) 1353933839 -4.847966628390903 treat image : temp/1745852847_2871213_1353933833_6258da416fe2c7d8c95a4ef744b281ef.jpg resize: (1080, 1632) 1353933833 -5.696717722897712 treat image : temp/1745852847_2871213_1353933779_f2c132ac70f9118541816e06ebcb41f5.jpg resize: (1080, 1632) 1353933779 -5.151529667463126 treat image : temp/1745852847_2871213_1353933773_f07719860ec75657b262541f83a0b6b3.jpg resize: (1080, 1632) 1353933773 -2.1966016585212564 treat image : temp/1745852847_2871213_1353933766_fb49a4506daaf4c49831eb47d9b84c50.jpg resize: (1080, 1632) 1353933766 -1.013566435851956 treat image : temp/1745852847_2871213_1353933761_f7c32cdc5075696853bbfffc2dab6320.jpg resize: (1080, 1632) 1353933761 -2.660180630971446 treat image : temp/1745852847_2871213_1353933353_dd700c74d11cfeab2a0deef1d7dc003f.jpg resize: (1080, 1632) 1353933353 -1.1805132875263893 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.013631820678710938 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.0139923095703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0159757137298584 save missing photos in datou_result : time spend for datou_step_exec : 16.56597375869751 time spend to save output : 0.04856586456298828 total time spend for step 1 : 16.614539623260498 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 4.21system 0:22.22elapsed 85%CPU (0avgtext+0avgdata 140560maxresident)k 152inputs+9760outputs (6major+238020minor)pagefaults 0swaps