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 : 2049177 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 : 6444>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2049177/ 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.311734199523926 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 Jul 2 23:47: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/1751492848_2049177_1370170816_7b204f0b746ff8c121008d1ef6f46cce.jpg resize: (1080, 1632) 1370170816 -6.119125376308774 treat image : temp/1751492848_2049177_1370170792_e3045aea6892391c0c9ce3d977112a40.jpg resize: (1080, 1632) 1370170792 -6.1382348172808125 treat image : temp/1751492848_2049177_1370170786_7fcb184146a31830d73dd1a6ec137a39.jpg resize: (1080, 1632) 1370170786 -5.91846048587053 treat image : temp/1751492848_2049177_1370170756_bf0c39443e42c3d74c616902bd053052.jpg resize: (1080, 1632) 1370170756 -5.918488217761028 treat image : temp/1751492848_2049177_1370170718_a66ffc181d70932b4920987817d8c604.jpg resize: (1080, 1632) 1370170718 -5.7835167084104055 treat image : temp/1751492848_2049177_1370170691_be901daca57a4f64e28ee74a4a5f67a7.jpg resize: (1080, 1632) 1370170691 -5.788626452569072 treat image : temp/1751492848_2049177_1370170665_07843873e0b13f0b37adcdbcc9f9fc72.jpg resize: (1080, 1632) 1370170665 -2.6612476783098726 treat image : temp/1751492848_2049177_1370170662_ddfe50bb314d9c34b1598e8f599a8e87.jpg resize: (1080, 1632) 1370170662 -2.6685372825889924 treat image : temp/1751492848_2049177_1370170659_01be122145581008de7f2b7b72769890.jpg resize: (1080, 1632) 1370170659 -3.086801378515156 treat image : temp/1751492848_2049177_1370170626_10d38fd44b7c39d2f1a4c27fc4f6cfeb.jpg resize: (1080, 1632) 1370170626 -5.045050044266926 treat image : temp/1751492848_2049177_1370170587_21c7e3d5be3d8b36ff1888fb05b1b7fe.jpg resize: (1080, 1632) 1370170587 -5.4489115679409 treat image : temp/1751492848_2049177_1370170553_2ef33c7341d3af2803a6b1625a6baac5.jpg resize: (1080, 1632) 1370170553 -5.464671149994843 treat image : temp/1751492848_2049177_1370170360_25957a8d07bdaf1d002cad93b6a42375.jpg resize: (1080, 1632) 1370170360 -3.9906163212400667 treat image : temp/1751492848_2049177_1370170328_c3c5f1c0083823f341b0a818f69c39d4.jpg resize: (1080, 1632) 1370170328 -3.9790113932108038 treat image : temp/1751492848_2049177_1370170294_980d48d4a296bd037a9dca9f4de453fa.jpg resize: (1080, 1632) 1370170294 -5.280891578187271 treat image : temp/1751492848_2049177_1370170248_bffe9c14ee394d57528e75e9f7a23bb1.jpg resize: (1080, 1632) 1370170248 -5.293369311487341 treat image : temp/1751492848_2049177_1370170186_b0e174172248fd8c94f773855924d875.jpg resize: (1080, 1632) 1370170186 -5.296072663357546 treat image : temp/1751492848_2049177_1370170130_c50903971bf033ae4e76be938a8cd8da.jpg resize: (1080, 1632) 1370170130 -4.866823489683236 treat image : temp/1751492848_2049177_1370169010_d42ca81769fdec468b2ced1e3ac8e147.jpg resize: (1080, 1632) 1370169010 -4.970882008233707 treat image : temp/1751492848_2049177_1370168975_6cc4eae6c5ca4da125ccd20c25802c1d.jpg resize: (1080, 1632) 1370168975 -5.710425633746218 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.017551660537719727 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.014906644821166992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017012357711791992 save missing photos in datou_result : time spend for datou_step_exec : 14.390857458114624 time spend to save output : 0.054454803466796875 total time spend for step 1 : 14.445312261581421 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.41user 3.38system 0:20.75elapsed 80%CPU (0avgtext+0avgdata 138788maxresident)k 112inputs+10200outputs (0major+232090minor)pagefaults 0swaps