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 : 2409924 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 : 1214>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2409924/ 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.1989009380340576 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 Thu May 22 10:32: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/1747902749_2409924_1360497120_3a655f1eaeb8cb782508fa360622f5ed.jpg resize: (1080, 1632) 1360497120 -5.537217498005377 treat image : temp/1747902749_2409924_1360497092_57bae6fd01ccc7a21e3d7020d513da69.jpg resize: (1080, 1632) 1360497092 -4.9349848073712135 treat image : temp/1747902749_2409924_1360497061_0a945f106d237cd331e46cb5b9be3f7e.jpg resize: (1080, 1632) 1360497061 -1.9692113165716942 treat image : temp/1747902749_2409924_1360497034_66e3fdf25ac60459c616f7309160123f.jpg resize: (1080, 1632) 1360497034 -1.9479783813541776 treat image : temp/1747902749_2409924_1360496703_8e5fe9d74f07d3ea17ed588d00c136bb.jpg resize: (1080, 1632) 1360496703 -5.711261622976555 treat image : temp/1747902749_2409924_1360496690_b8337fadc0c8586ded7e589a403b5b69.jpg resize: (1080, 1632) 1360496690 -5.383639225960136 treat image : temp/1747902749_2409924_1360496669_7148a16d763d04e68ec3baa01f6a1da7.jpg resize: (1080, 1632) 1360496669 -3.4401349470691356 treat image : temp/1747902749_2409924_1360496639_2ab336d138e41fc5d49c4f30616c4f17.jpg resize: (1080, 1632) 1360496639 -5.859134198195529 treat image : temp/1747902749_2409924_1360496590_a6dca8ea17136a9fc5e7987ee32632ac.jpg resize: (1080, 1632) 1360496590 -5.862271894066794 treat image : temp/1747902749_2409924_1360496284_bdc698d3d72756501596ad7edbcac67b.jpg resize: (1080, 1632) 1360496284 -1.6326281172311583 treat image : temp/1747902749_2409924_1360496280_18d18e486cabcceac29625f601463dfe.jpg resize: (1080, 1632) 1360496280 -4.110627783434592 treat image : temp/1747902749_2409924_1360496265_e450ab4d46b6dca86e4de91612d7cfe3.jpg resize: (1080, 1632) 1360496265 -5.07545178548238 treat image : temp/1747902749_2409924_1360496196_93f94f32267616ba362902a8e05e456d.jpg resize: (1080, 1632) 1360496196 -5.348028746508311 treat image : temp/1747902749_2409924_1360496170_bf3bd2df9546f44a7f9010e7db5abee1.jpg resize: (1080, 1632) 1360496170 -5.3762876543510005 treat image : temp/1747902749_2409924_1360496077_f0addd4bec9db924d86237025664153e.jpg resize: (1080, 1632) 1360496077 -5.487341223519688 treat image : temp/1747902749_2409924_1360495988_05f2544221d23882bb62125633f26555.jpg resize: (1080, 1632) 1360495988 -4.669019934551057 treat image : temp/1747902749_2409924_1360495814_cb46982419dabb21da9dc0f504a7cc67.jpg resize: (1080, 1632) 1360495814 -1.1423876640690704 treat image : temp/1747902749_2409924_1360495721_800bdb0747d8baab37ff53bace5ccb39.jpg resize: (1080, 1632) 1360495721 -1.9224088980476102 treat image : temp/1747902749_2409924_1360471224_21987d33ccc6ec326789443d0f0286ea.jpg resize: (1080, 1632) 1360471224 -4.872972781259438 treat image : temp/1747902749_2409924_1360470521_3ed0075550a89d5832bc64349458c0ef.jpg resize: (1080, 1632) 1360470521 -2.2977012288318868 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.012698650360107422 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.012039422988891602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01701521873474121 save missing photos in datou_result : time spend for datou_step_exec : 16.737815141677856 time spend to save output : 0.046034812927246094 total time spend for step 1 : 16.783849954605103 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 4.59system 0:23.00elapsed 84%CPU (0avgtext+0avgdata 137980maxresident)k 384inputs+9240outputs (14major+250529minor)pagefaults 0swaps