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 : 2263193 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 : 1337>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/2263193/ 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.2363498210906982 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 10:57: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/1747817849_2263193_1359997391_da76e434f8d6a8024dedf1e2ca35b609.jpg resize: (1080, 1632) 1359997391 -6.088799236849065 treat image : temp/1747817849_2263193_1359997388_8486b3bb2d5a04d1bfddeb6196215242.jpg resize: (1080, 1632) 1359997388 -5.383067279812897 treat image : temp/1747817849_2263193_1359997385_570089217ccafc97b88523d6c936343a.jpg resize: (1080, 1632) 1359997385 0.05748771788543782 treat image : temp/1747817849_2263193_1359997384_f979ca6d68b7787ef62b8cd0b39cfe1b.jpg resize: (1080, 1632) 1359997384 -2.1231141554743123 treat image : temp/1747817849_2263193_1359997367_c1cabaf28a3cbce2796b1732abbd5257.jpg resize: (1080, 1632) 1359997367 -5.683818001681109 treat image : temp/1747817849_2263193_1359997365_995a2b260ba92cadd88b3139f33f0bd7.jpg resize: (1080, 1632) 1359997365 -3.4356704649709306 treat image : temp/1747817849_2263193_1359997362_f3edd6698dfc53843ba21d69d9ad4eb4.jpg resize: (1080, 1632) 1359997362 -5.659023251212256 treat image : temp/1747817849_2263193_1359997358_2e245debd99a17babbcd69490954e860.jpg resize: (1080, 1632) 1359997358 -4.049301463730626 treat image : temp/1747817849_2263193_1359997353_ba0597cd317b1827373f2e460443edce.jpg resize: (1080, 1632) 1359997353 -6.599565512017737 treat image : temp/1747817849_2263193_1359997349_4998c78b9b5510d4431e6e497ec5bb84.jpg resize: (1080, 1632) 1359997349 -3.744885233007559 treat image : temp/1747817849_2263193_1359997208_553565d0692c0e0b4e60fe3bbd4f85a6.jpg resize: (1080, 1632) 1359997208 -4.95375198649841 treat image : temp/1747817849_2263193_1359997120_8b0cb6247c4461a90998b9da7d359683.jpg resize: (1080, 1632) 1359997120 -2.5827099377763374 treat image : temp/1747817849_2263193_1359996910_84a23aa47cb34512d447245ee05caf5f.jpg resize: (1080, 1632) 1359996910 -4.966403095429169 treat image : temp/1747817849_2263193_1359996857_7a4cf761be16dc2e2d33112e4c5bd763.jpg resize: (1080, 1632) 1359996857 -5.103192310713305 treat image : temp/1747817849_2263193_1359996805_afbfef201d52690290fda011d7b7fbbe.jpg resize: (1080, 1632) 1359996805 -2.9955101937550954 treat image : temp/1747817849_2263193_1359996769_e5a2ef450b9743ad4daa77f1f0964251.jpg resize: (1080, 1632) 1359996769 -4.327197533519591 treat image : temp/1747817849_2263193_1359996741_60fdac3dea4484ac511a7585f30bd82a.jpg resize: (1080, 1632) 1359996741 -4.824624662687639 treat image : temp/1747817849_2263193_1359990076_af94a3dcd5be5b25f6d3b51ed60339cc.jpg resize: (1080, 1632) 1359990076 -5.215774395185314 treat image : temp/1747817849_2263193_1359990072_d5adb163e009a829c6a7d22bb2c8a251.jpg resize: (1080, 1632) 1359990072 -2.760229283715324 treat image : temp/1747817849_2263193_1359990037_3cba1ccf83c9ece5cd90420f644e1d84.jpg resize: (1080, 1632) 1359990037 -5.4061045219023836 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.013283014297485352 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.08602762222290039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05286812782287598 save missing photos in datou_result : time spend for datou_step_exec : 18.29978609085083 time spend to save output : 0.17013788223266602 total time spend for step 1 : 18.469923973083496 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 6.33system 0:25.05elapsed 83%CPU (0avgtext+0avgdata 137148maxresident)k 14440inputs+9368outputs (53major+261540minor)pagefaults 0swaps