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 : 204960 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 : 125>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/204960/ 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.319347858428955 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 Mon May 19 05:32:28 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/1747625546_204960_1359277023_9f2c2a402eef01ddf353dbdc0d8d33b0.jpg resize: (1080, 1632) 1359277023 -3.8628941761714652 treat image : temp/1747625546_204960_1359277020_a3e9d668eeeeb575798c2478aaf7cf55.jpg resize: (1080, 1632) 1359277020 -4.563009811107683 treat image : temp/1747625546_204960_1359277016_82c0b9c4c722aa4c76bd75e89ed193c3.jpg resize: (1080, 1632) 1359277016 0.2762852565206406 treat image : temp/1747625546_204960_1359277013_f16f9dcabb9bf651f103488fa73d6dfb.jpg resize: (1080, 1632) 1359277013 -1.6632365789320793 treat image : temp/1747625546_204960_1359276998_cb8b9d83422709d5ffdf479aff055e09.jpg resize: (1080, 1632) 1359276998 -4.427115369296443 treat image : temp/1747625546_204960_1359276996_0a033eb05284a3f9722b4689c174da5b.jpg resize: (1080, 1632) 1359276996 -5.442895428068987 treat image : temp/1747625546_204960_1359276993_e9aa3f9360e6635c0285135160808655.jpg resize: (1080, 1632) 1359276993 -3.2260692223221255 treat image : temp/1747625546_204960_1359276990_14392bd260bab236d36978fa885599e0.jpg resize: (1080, 1632) 1359276990 -5.239944562140889 treat image : temp/1747625546_204960_1359276987_8688bd9e14ac0c1c631f00591536b61f.jpg resize: (1080, 1632) 1359276987 -5.470188152536893 treat image : temp/1747625546_204960_1359276972_40a9b7c597291bdbd8d9cdeaccc34eb8.jpg resize: (1080, 1632) 1359276972 -3.5099935314858466 treat image : temp/1747625546_204960_1359276970_9013b1a7164ef053da0a323615fd2847.jpg resize: (1080, 1632) 1359276970 -6.150579409305298 treat image : temp/1747625546_204960_1359276967_a0b528b4d8d2b86a91c9237f5f4ca499.jpg resize: (1080, 1632) 1359276967 -6.167380761584664 treat image : temp/1747625546_204960_1359276964_5285c6af1c7bdff4b870453b7d302da7.jpg resize: (1080, 1632) 1359276964 -4.5421833052131255 treat image : temp/1747625546_204960_1359276960_69977fb8d9eb9dba0eef9f84a8af34d8.jpg resize: (1080, 1632) 1359276960 -5.078142954148029 treat image : temp/1747625546_204960_1359276942_54ba954f2214633c2c92d83ea1f4b066.jpg resize: (1080, 1632) 1359276942 -0.7763093404989171 treat image : temp/1747625546_204960_1359276939_0fd9762ba8180599578221621a70d722.jpg resize: (1080, 1632) 1359276939 -0.16991137283337082 treat image : temp/1747625546_204960_1359276936_34f2aab8a44bf89801cf10f859f4d223.jpg resize: (1080, 1632) 1359276936 -6.04311357769877 treat image : temp/1747625546_204960_1359276922_cfa82c1ce453e660517d066144b69010.jpg resize: (1080, 1632) 1359276922 -4.889583291614882 treat image : temp/1747625546_204960_1359276921_b5c42cf7b064dda3f32c6ec9470a48dc.jpg resize: (1080, 1632) 1359276921 -5.773135196880951 treat image : temp/1747625546_204960_1359276919_3f3b32a5967a1a8d1378360731b644f5.jpg resize: (1080, 1632) 1359276919 -4.628114393941044 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.01569509506225586 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.4400787353515625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.7313263416290283 save missing photos in datou_result : time spend for datou_step_exec : 16.36638855934143 time spend to save output : 1.1915154457092285 total time spend for step 1 : 17.55790400505066 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 4.81system 0:21.55elapsed 87%CPU (0avgtext+0avgdata 138376maxresident)k 104inputs+9096outputs (2major+260245minor)pagefaults 0swaps