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 : 3921316 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 : 3480>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3921316/ 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.1075685024261475 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 Sat Mar 22 06:12: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/1742620349_3921316_1346342762_b3a0531b71ffcb741114ad626f89ac22.jpg resize: (1080, 1632) 1346342762 -4.919089564252749 treat image : temp/1742620349_3921316_1346342755_b8cfa916a5c1812f52babc4459035423.jpg resize: (1080, 1632) 1346342755 -3.4759005011863233 treat image : temp/1742620349_3921316_1346342752_137afbfab3232203ce8c1f24bd549020.jpg resize: (1080, 1632) 1346342752 -5.5714874548556885 treat image : temp/1742620349_3921316_1346342747_97c2ef4afaca9a301ca5795e721adb2a.jpg resize: (1080, 1632) 1346342747 -5.168183245328406 treat image : temp/1742620349_3921316_1346342739_905da4b2b7f17bb94006972028d8293f.jpg resize: (1080, 1632) 1346342739 -6.125325702527701 treat image : temp/1742620349_3921316_1346342736_12d9bc7ef3df0d72a942033520283b1e.jpg resize: (1080, 1632) 1346342736 -5.961115219933463 treat image : temp/1742620349_3921316_1346342734_d7b26dcaa124faa650a44b9322df2081.jpg resize: (1080, 1632) 1346342734 -6.028916567466428 treat image : temp/1742620349_3921316_1346342731_9dec864d3373719801b5d1d3469dd320.jpg resize: (1080, 1632) 1346342731 -6.345500875386546 treat image : temp/1742620349_3921316_1346342727_5c493290e86d73f1baebfa262b520390.jpg resize: (1080, 1632) 1346342727 -6.230134486381225 treat image : temp/1742620349_3921316_1346342723_fa62d6160e323c41ab3666ed4c8b662d.jpg resize: (1080, 1632) 1346342723 -5.85849974930299 treat image : temp/1742620349_3921316_1346342715_75c91937802a02726a316f8454f2dd09.jpg resize: (1080, 1632) 1346342715 -2.2936854031409566 treat image : temp/1742620349_3921316_1346342714_f62734fcef11b210515d9801b02017ec.jpg resize: (1080, 1632) 1346342714 -4.09327666343291 treat image : temp/1742620349_3921316_1346342710_5de77f1a1e6c7059713662a6bf0d9fb4.jpg resize: (1080, 1632) 1346342710 -5.326738896814438 treat image : temp/1742620349_3921316_1346342707_ddf4c311421b574aa03e9195ddd2afdd.jpg resize: (1080, 1632) 1346342707 -3.818545087776118 treat image : temp/1742620349_3921316_1346342704_e838c7541c9004b7b3f779ebe02043a4.jpg resize: (1080, 1632) 1346342704 -6.120908831287384 treat image : temp/1742620349_3921316_1346342701_999387ec7d41ed62ef8d4b57ff42f18c.jpg resize: (1080, 1632) 1346342701 -5.720350903800758 treat image : temp/1742620349_3921316_1346342160_e5c1590e8cb56943a445e650859bb120.jpg resize: (1080, 1632) 1346342160 -5.391497722195867 treat image : temp/1742620349_3921316_1346342138_f26bb7b29e6ba4d8fd17569e581fa1cc.jpg resize: (1080, 1632) 1346342138 -6.650758029590379 treat image : temp/1742620349_3921316_1346342120_e81a36b1579dff797dc03c155aa9e751.jpg resize: (1080, 1632) 1346342120 -5.950634615665328 treat image : temp/1742620349_3921316_1346342093_e3a449e1aadc205fa78b0ecc647e063f.jpg resize: (1080, 1632) 1346342093 -5.812755662329047 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.328493595123291 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.013887405395507812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0168914794921875 save missing photos in datou_result : time spend for datou_step_exec : 15.80105972290039 time spend to save output : 0.3645751476287842 total time spend for step 1 : 16.165634870529175 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.62user 4.88system 0:22.69elapsed 81%CPU (0avgtext+0avgdata 139096maxresident)k 160inputs+11136outputs (2major+253583minor)pagefaults 0swaps