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 : 3735096 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 : 2868>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/3735096/ 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.076874017715454 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 05:17:29 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/1742617047_3735096_1346338503_48e543d2abfdd7230d98f6c1f823f4f1.jpg resize: (1080, 1632) 1346338503 -4.890564846518406 treat image : temp/1742617047_3735096_1346338501_1d42bde0ecc83d53e6b981a4458d4356.jpg resize: (1080, 1632) 1346338501 -6.631063582675591 treat image : temp/1742617047_3735096_1346338499_6e240c268b410968ea4eb58fa8e6d013.jpg resize: (1080, 1632) 1346338499 -6.242204012739535 treat image : temp/1742617047_3735096_1346338495_7f332a8ec607f09e02f1f1256da739f8.jpg resize: (1080, 1632) 1346338495 -5.103414676280457 treat image : temp/1742617047_3735096_1346338491_5c0d9481a2ccc3dd6555d515fd8e6a2c.jpg resize: (1080, 1632) 1346338491 -4.022193737868339 treat image : temp/1742617047_3735096_1346338486_763879cd69a12881eef11f027167bb57.jpg resize: (1080, 1632) 1346338486 -4.779071634048933 treat image : temp/1742617047_3735096_1346338474_ea133d080a676c0371ce50b048636468.jpg resize: (1080, 1632) 1346338474 -2.314838925746541 treat image : temp/1742617047_3735096_1346338472_e608b10e058ad3af9512a39884f9eec9.jpg resize: (1080, 1632) 1346338472 -2.612273009256752 treat image : temp/1742617047_3735096_1346338470_d91ff8bc2398c08954e3264612d2948c.jpg resize: (1080, 1632) 1346338470 -4.223998152148783 treat image : temp/1742617047_3735096_1346338469_abd76641e21003844414d3e7c1bbdc63.jpg resize: (1080, 1632) 1346338469 -4.749971208549538 treat image : temp/1742617047_3735096_1346338468_c32dae540ec3a01ad075b54af41b8419.jpg resize: (1080, 1632) 1346338468 -5.942558326552139 treat image : temp/1742617047_3735096_1346338467_4b69c8e37ea979f4ee68e7bb4b793113.jpg resize: (1080, 1632) 1346338467 -6.156163938951258 treat image : temp/1742617047_3735096_1346338461_7476df105d27677701ec852e031d9470.jpg resize: (1080, 1632) 1346338461 -5.706406503233642 treat image : temp/1742617047_3735096_1346338456_6fc7736c5a80ddaabd4611134d6db617.jpg resize: (1080, 1632) 1346338456 -4.0680330710676165 treat image : temp/1742617047_3735096_1346338455_32da9e23967d8a007db9e9211ad6c071.jpg resize: (1080, 1632) 1346338455 -5.706406503233642 treat image : temp/1742617047_3735096_1346338450_b52f4e0f45fb2d40101e52a4295dfe1a.jpg resize: (1080, 1632) 1346338450 -3.55892985532113 treat image : temp/1742617047_3735096_1346338449_c7bc8d07c1e3e51920efa9138adcfc29.jpg resize: (1080, 1632) 1346338449 -4.0680330710676165 treat image : temp/1742617047_3735096_1346338444_b177767651683827bc59761c33b6c433.jpg resize: (1080, 1632) 1346338444 -5.1027092684939195 treat image : temp/1742617047_3735096_1346338443_e929144c097fd4e7f055270f4a6e2209.jpg resize: (1080, 1632) 1346338443 -3.55892985532113 treat image : temp/1742617047_3735096_1346338439_40603b65baf087f204884777fa406165.jpg resize: (1080, 1632) 1346338439 -5.1027092684939195 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.01575160026550293 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.015865087509155273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014996051788330078 save missing photos in datou_result : time spend for datou_step_exec : 15.683954238891602 time spend to save output : 0.0510404109954834 total time spend for step 1 : 15.734994649887085 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 4.30system 0:20.39elapsed 88%CPU (0avgtext+0avgdata 139036maxresident)k 96inputs+10280outputs (2major+258100minor)pagefaults 0swaps