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 : 4040778 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 : 3572>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/4040778/ 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.8320670127868652 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: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/1742622749_4040778_1346338306_38fd8b70b4a66a47e7c1a44b687a4dbf.jpg resize: (1080, 1632) 1346338306 -5.3214543366131775 treat image : temp/1742622749_4040778_1346338302_38eed6bf6b1f21602009b974c55fd658.jpg resize: (1080, 1632) 1346338302 -5.3214543366131775 treat image : temp/1742622749_4040778_1346338300_51a55e956633233cefccf43167091910.jpg resize: (1080, 1632) 1346338300 -3.256686183582645 treat image : temp/1742622749_4040778_1346338297_ccf527fff91eb839fe401d0f6de98865.jpg resize: (1080, 1632) 1346338297 -3.256686183582645 treat image : temp/1742622749_4040778_1346338280_1bf8930d5ce1ccf08c9bcf1f099f4804.jpg resize: (1080, 1632) 1346338280 -2.430503278988776 treat image : temp/1742622749_4040778_1346338279_40c72603a71d8f937aa2467c65234b0a.jpg resize: (1080, 1632) 1346338279 -4.601846596335756 treat image : temp/1742622749_4040778_1346338278_6bc196e934217310c3dfd7702b415f79.jpg resize: (1080, 1632) 1346338278 -6.353896118485125 treat image : temp/1742622749_4040778_1346338273_eed10414d679e96eba469c5d22c73e55.jpg resize: (1080, 1632) 1346338273 -6.779190152549954 treat image : temp/1742622749_4040778_1346338271_d8da9b849cd0544554ddcbe9a7956c56.jpg resize: (1080, 1632) 1346338271 -5.955780487167416 treat image : temp/1742622749_4040778_1346338267_f3f702e52648d69473a78f2d01729c67.jpg resize: (1080, 1632) 1346338267 -5.491005009778726 treat image : temp/1742622749_4040778_1346338174_a5e74d915081e52d13ec3a67af4449d7.jpg resize: (1080, 1632) 1346338174 -6.422548025906164 treat image : temp/1742622749_4040778_1346338170_1646a73851d64258a6ad6f931ec198f9.jpg resize: (1080, 1632) 1346338170 -4.469938879368527 treat image : temp/1742622749_4040778_1346338166_3c05a73fbc66d124b4bd3214eb24487f.jpg resize: (1080, 1632) 1346338166 -6.017975365951034 treat image : temp/1742622749_4040778_1346338162_c7371dda34757e57d14961f58f062435.jpg resize: (1080, 1632) 1346338162 -5.545522576775465 treat image : temp/1742622749_4040778_1346338154_bb77c880fe1c1088579062df696b5608.jpg resize: (1080, 1632) 1346338154 -6.511536630222755 treat image : temp/1742622749_4040778_1346338151_0b10edc8c43b3a26bdc74ede39df3566.jpg resize: (1080, 1632) 1346338151 -6.153753672565606 treat image : temp/1742622749_4040778_1346338148_26d74b5aa39bf7278675934079f59a9d.jpg resize: (1080, 1632) 1346338148 -6.076155203535261 treat image : temp/1742622749_4040778_1346338145_ffb6e24c61181d0b78158ce504b080d2.jpg resize: (1080, 1632) 1346338145 -5.860147423944633 treat image : temp/1742622749_4040778_1346338141_4e0310f026c3389740a596627483636d.jpg resize: (1080, 1632) 1346338141 -2.359924786739637 treat image : temp/1742622749_4040778_1346338139_1b171805a6e186b982822611a74d1c12.jpg resize: (1080, 1632) 1346338139 -4.904673747971378 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.015778541564941406 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.05894184112548828 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017886877059936523 save missing photos in datou_result : time spend for datou_step_exec : 15.112859725952148 time spend to save output : 0.09698200225830078 total time spend for step 1 : 15.20984172821045 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.21user 3.36system 0:21.64elapsed 81%CPU (0avgtext+0avgdata 140628maxresident)k 160inputs+10824outputs (21major+257057minor)pagefaults 0swaps