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 : 1360039 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 : 501>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1360039/ 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.2610087394714355 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 May 21 06:42: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/1747802547_1360039_1359967592_2afd1ea1a1f63d82fa826e231429b220.jpg resize: (1080, 1632) 1359967592 -4.67647598375628 treat image : temp/1747802547_1360039_1359967589_00000a0f364de9e20f8ebd1b45594441.jpg resize: (1080, 1632) 1359967589 -5.97337894100508 treat image : temp/1747802547_1360039_1359967585_bee409e8bab54ce8863d516dc17ea7aa.jpg resize: (1080, 1632) 1359967585 -5.945192508846615 treat image : temp/1747802547_1360039_1359967567_215d24ae062d88c3f5b6cce1ed17f529.jpg resize: (1080, 1632) 1359967567 -5.430683189020289 treat image : temp/1747802547_1360039_1359967564_81f8c4d5a39d96bf0dcbd74dc8a1ad04.jpg resize: (1080, 1632) 1359967564 -5.435196842278632 treat image : temp/1747802547_1360039_1359967562_31a5a883c8d5f235f3d82370644bdd23.jpg resize: (1080, 1632) 1359967562 -4.939316502153129 treat image : temp/1747802547_1360039_1359967558_8c1529b7f560e9f29954292ffa2a7cce.jpg resize: (1080, 1632) 1359967558 -3.269845481595333 treat image : temp/1747802547_1360039_1359967556_ba7f727358cb1b8bfcbf80bd42e3679b.jpg resize: (1080, 1632) 1359967556 -5.434721854639362 treat image : temp/1747802547_1360039_1359967554_3b47a03f4be60702e7561e38b130c90e.jpg resize: (1080, 1632) 1359967554 -5.737685571633249 treat image : temp/1747802547_1360039_1359967529_3f2d135ced42a5863eb7a62f757b9670.jpg resize: (1080, 1632) 1359967529 -1.637093480557083 treat image : temp/1747802547_1360039_1359967525_d238efffbc35ea71788cca24ff9d42f4.jpg resize: (1080, 1632) 1359967525 -2.7639394073547425 treat image : temp/1747802547_1360039_1359967517_7bd02a97af5ee9564e836e20184fcbb9.jpg resize: (1080, 1632) 1359967517 -5.302417840356083 treat image : temp/1747802547_1360039_1359967515_b5f82549b117fb4d797e8b5136a78860.jpg resize: (1080, 1632) 1359967515 -1.96178485483792 treat image : temp/1747802547_1360039_1359967493_8dc5452f6f3eca4b12321063d2c0dbf7.jpg resize: (1080, 1632) 1359967493 -5.450438863383388 treat image : temp/1747802547_1360039_1359967490_5c4443e10809d463d163638bca01bf50.jpg resize: (1080, 1632) 1359967490 -5.7167468906993015 treat image : temp/1747802547_1360039_1359967485_4c6f589b39abc3cb144b0d0714e9f1b8.jpg resize: (1080, 1632) 1359967485 -5.509320203683482 treat image : temp/1747802547_1360039_1359967481_e4cadd24b646cd5d765cff3254107d5b.jpg resize: (1080, 1632) 1359967481 -2.5690012007150775 treat image : temp/1747802547_1360039_1359967479_23553e3eda0aabec4ae0e7ef45841753.jpg resize: (1080, 1632) 1359967479 -6.226925681995136 treat image : temp/1747802547_1360039_1359967475_d1b950540ece5751c61d9f364a6582a5.jpg resize: (1080, 1632) 1359967475 -1.8570593888361144 treat image : temp/1747802547_1360039_1359967438_6a36752c6eb1bbc77de6dde5ab3cff6f.jpg resize: (1080, 1632) 1359967438 -5.85524061045573 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.014960050582885742 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.01749396324157715 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020120620727539062 save missing photos in datou_result : time spend for datou_step_exec : 15.95005989074707 time spend to save output : 0.05773043632507324 total time spend for step 1 : 16.007790327072144 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.13system 0:21.02elapsed 87%CPU (0avgtext+0avgdata 137772maxresident)k 392inputs+9768outputs (6major+253756minor)pagefaults 0swaps