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 : 1006107 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 : 3684>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1006107/ 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.255411148071289 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 Feb 5 21:42: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/1738788147_1006107_1335028107_94719e2be27295ab06098446c601dca4.jpg resize: (1080, 1632) 1335028107 -5.495109781797466 treat image : temp/1738788147_1006107_1335028105_ebe568211a957bad5514d92a007b7864.jpg resize: (1080, 1632) 1335028105 -2.047935143472549 treat image : temp/1738788147_1006107_1335028103_30a48f85b8f4833726f4ee377365d4cf.jpg resize: (1080, 1632) 1335028103 -2.441357833707355 treat image : temp/1738788147_1006107_1335028102_46e2fa9063c5553b86aa22dea07dc8cc.jpg resize: (1080, 1632) 1335028102 -3.8857925760203478 treat image : temp/1738788147_1006107_1335028070_19992d6a8360b6e6bc9db4228a24aab7.jpg resize: (1080, 1632) 1335028070 -6.1872278054355805 treat image : temp/1738788147_1006107_1335028069_5e71764331579661f11fb7f0c65c413e.jpg resize: (1080, 1632) 1335028069 -6.3711790137644675 treat image : temp/1738788147_1006107_1335028066_444565602040e4cd01786c49a7ceaf09.jpg resize: (1080, 1632) 1335028066 -4.7621756242654785 treat image : temp/1738788147_1006107_1335028063_b06d49d59de0746ada08b4f2de683190.jpg resize: (1080, 1632) 1335028063 -6.433417388331093 treat image : temp/1738788147_1006107_1335028062_a479f409bcee8a2a9b772a07aa6d3817.jpg resize: (1080, 1632) 1335028062 -6.547302327528833 treat image : temp/1738788147_1006107_1335028037_1cfa71df6c41a17d24cbbe927a6e8349.jpg resize: (1080, 1632) 1335028037 -3.4695700660321216 treat image : temp/1738788147_1006107_1335028034_abef359b30a82e45f38edd6247ee94a5.jpg resize: (1080, 1632) 1335028034 -5.91411338827212 treat image : temp/1738788147_1006107_1335028032_2eee755f10faa48ffb5fe45d796f9a6a.jpg resize: (1080, 1632) 1335028032 -5.917479641103868 treat image : temp/1738788147_1006107_1335028029_5ce29a72dc763fe3c01a63e42f202b97.jpg resize: (1080, 1632) 1335028029 -6.479096292340333 treat image : temp/1738788147_1006107_1335028026_7bd76016e0d4424980dad35a5003e0cf.jpg resize: (1080, 1632) 1335028026 -6.297191190076075 treat image : temp/1738788147_1006107_1335028024_d386b0f469f309dba07457045e3e8e84.jpg resize: (1080, 1632) 1335028024 -5.956239381956546 treat image : temp/1738788147_1006107_1335027916_9aa23e954acdd27edda984644064bcdd.jpg resize: (1080, 1632) 1335027916 -6.297998378541474 treat image : temp/1738788147_1006107_1335027912_16f586799f53472933cc85e3abee7718.jpg resize: (1080, 1632) 1335027912 -1.585201943853658 treat image : temp/1738788147_1006107_1335027909_33d5f98b0fe7e2e85eff9aaae8e3e24b.jpg resize: (1080, 1632) 1335027909 -2.811473869668181 treat image : temp/1738788147_1006107_1335027877_4180081362acb2debde23cc1f7492616.jpg resize: (1080, 1632) 1335027877 -4.024529591261607 treat image : temp/1738788147_1006107_1335027836_d3da740e7a64fe25e9bffd77949d714f.jpg resize: (1080, 1632) 1335027836 -6.1408864461173485 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.012553215026855469 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.011929512023925781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.31595373153686523 save missing photos in datou_result : time spend for datou_step_exec : 13.814977645874023 time spend to save output : 0.34513354301452637 total time spend for step 1 : 14.16011118888855 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 1.61system 0:19.16elapsed 85%CPU (0avgtext+0avgdata 141492maxresident)k 88inputs+10672outputs (3major+119314minor)pagefaults 0swaps