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 : 3530560 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 : 1621>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3530560/ 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.9357898235321045 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 Mar 13 16:22:32 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/1741879349_3530560_1343734946_01a96ddbad33bea4c8deb5d4fa16122b.jpg resize: (1080, 1632) 1343734946 -5.096025777623189 treat image : temp/1741879349_3530560_1343734942_bc8cc6ff0127987c825190f85a49b67a.jpg resize: (1080, 1632) 1343734942 -6.6264591028317135 treat image : temp/1741879349_3530560_1343734936_d297b02b256bf034b5ece3c03016aae9.jpg resize: (1080, 1632) 1343734936 -4.605620232224222 treat image : temp/1741879349_3530560_1343734929_7c72f33cb126a0ca8d6cf5bd6ee7c301.jpg resize: (1080, 1632) 1343734929 -6.336921466728487 treat image : temp/1741879349_3530560_1343734894_c663d939057369bce8a06c62a9e02b0d.jpg resize: (1080, 1632) 1343734894 -1.6006994611249312 treat image : temp/1741879349_3530560_1343734889_53f9c3adc4b5a820efcc3eaa49cdab86.jpg resize: (1080, 1632) 1343734889 -5.511677015094491 treat image : temp/1741879349_3530560_1343734881_f6d10bb3580da12f9bc2df55d5824f89.jpg resize: (1080, 1632) 1343734881 -6.641124444965728 treat image : temp/1741879349_3530560_1343734876_554e07994ddc6bd2acfa0aa02a827a43.jpg resize: (1080, 1632) 1343734876 -6.655455445114254 treat image : temp/1741879349_3530560_1343734845_9669129d0255afa1a8f5f682b5e2040b.jpg resize: (1080, 1632) 1343734845 -6.222203324019315 treat image : temp/1741879349_3530560_1343734839_31a09bee9e74a74b11ef9b66d167db9a.jpg resize: (1080, 1632) 1343734839 -4.620821101148806 treat image : temp/1741879349_3530560_1343734833_9877cd5b77e82ee834f61b93e7af864b.jpg resize: (1080, 1632) 1343734833 -6.003476389459732 treat image : temp/1741879349_3530560_1343734827_9aef67cfedd7ab75e54b18d349480794.jpg resize: (1080, 1632) 1343734827 -3.321709636205037 treat image : temp/1741879349_3530560_1343734791_808cd387b9a941ccc3356804c3821084.jpg resize: (1080, 1632) 1343734791 -5.40015864604004 treat image : temp/1741879349_3530560_1343734789_8f08ae19fde52b5f6d2a80e0e13d6a62.jpg resize: (1080, 1632) 1343734789 -5.607823236950797 treat image : temp/1741879349_3530560_1343734783_7f4470cda4e55d37f5ab7fc049374d1c.jpg resize: (1080, 1632) 1343734783 -5.881254374506308 treat image : temp/1741879349_3530560_1343734778_2ed43b94ee98cd2cfa4e9cbf964002b7.jpg resize: (1080, 1632) 1343734778 -6.012546056601215 treat image : temp/1741879349_3530560_1343734772_ee2ed9c34708959198f19e4cac2287a2.jpg resize: (1080, 1632) 1343734772 -6.297088748900919 treat image : temp/1741879349_3530560_1343734740_9cd8496b2cde1d99a97c0c1c9e1b81c9.jpg resize: (1080, 1632) 1343734740 -5.086152404630567 treat image : temp/1741879349_3530560_1343734738_d3bc14cb8c8384b5149d9749b364c141.jpg resize: (1080, 1632) 1343734738 -4.828860219292035 treat image : temp/1741879349_3530560_1343734731_8dd23351f0b7dbcfa80d1cb534a6db72.jpg resize: (1080, 1632) 1343734731 -5.352999697663681 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.012774467468261719 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.011909961700439453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01494741439819336 save missing photos in datou_result : time spend for datou_step_exec : 18.784526348114014 time spend to save output : 0.04488492012023926 total time spend for step 1 : 18.829411268234253 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 5.91system 0:24.83elapsed 84%CPU (0avgtext+0avgdata 141312maxresident)k 88inputs+11368outputs (8major+260719minor)pagefaults 0swaps