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 : 2189462 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 : 994>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/2189462/ 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.538813829421997 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 09:32:30 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/1747899147_2189462_1360463965_ed818193ce9e24fd2752786b4cf591e0.jpg resize: (1080, 1632) 1360463965 -5.312745396867189 treat image : temp/1747899147_2189462_1360441160_5ec43a4b17decbac000da7f7e434cc18.jpg resize: (1080, 1632) 1360441160 -2.679968344868782 treat image : temp/1747899147_2189462_1360441155_6d54c9452a0ac36d41a31bba92f7c4dc.jpg resize: (1080, 1632) 1360441155 -5.344374885718061 treat image : temp/1747899147_2189462_1360440990_5db38ddc8f051b8798e95ef28bace857.jpg resize: (1080, 1632) 1360440990 -3.8504018650669023 treat image : temp/1747899147_2189462_1360440957_d63ad464ce6a538592c7fdb9ea928fb5.jpg resize: (1080, 1632) 1360440957 -6.337899956296551 treat image : temp/1747899147_2189462_1360440917_42b2ee5fc153bc15569ea5605d1dd424.jpg resize: (1080, 1632) 1360440917 -6.124904307451072 treat image : temp/1747899147_2189462_1360440890_19869c57a735c1c52d6106d2371a1431.jpg resize: (1080, 1632) 1360440890 -5.8748344541199655 treat image : temp/1747899147_2189462_1360440875_4390bbede704ca146625ec24d2e92d89.jpg resize: (1080, 1632) 1360440875 -6.010648228544497 treat image : temp/1747899147_2189462_1360440717_78813889978b7e1e1337ecbe781dcb68.jpg resize: (1080, 1632) 1360440717 -5.865025447783263 treat image : temp/1747899147_2189462_1360440649_1460a059cc4228784682bfd61d4448a8.jpg resize: (1080, 1632) 1360440649 -3.404991971064941 treat image : temp/1747899147_2189462_1360440564_d076b958a41d4ec38aaa5733fbd48bfc.jpg resize: (1080, 1632) 1360440564 -1.780683393584019 treat image : temp/1747899147_2189462_1360440281_26f9ae456e80a43adb8d1ed691a96e36.jpg resize: (1080, 1632) 1360440281 -6.075406024635462 treat image : temp/1747899147_2189462_1360440250_38a4350be0802fb28ac08fa0e67192b7.jpg resize: (1080, 1632) 1360440250 -5.625437131496723 treat image : temp/1747899147_2189462_1360440198_16900d95eb1347140177fe7ae769d1a5.jpg resize: (1080, 1632) 1360440198 -5.786730261244834 treat image : temp/1747899147_2189462_1360440148_0bf708a72a80293a740b79772271be5b.jpg resize: (1080, 1632) 1360440148 -5.741967205788596 treat image : temp/1747899147_2189462_1360440098_a2b260ddccdbbed176c8edcfb879c0a6.jpg resize: (1080, 1632) 1360440098 -3.6061441066037623 treat image : temp/1747899147_2189462_1360439955_b208563012af4baca6c06579059abed2.jpg resize: (1080, 1632) 1360439955 -2.6950673815930895 treat image : temp/1747899147_2189462_1360439926_89d43b0f2f1afd448f182ac8c63618ab.jpg resize: (1080, 1632) 1360439926 -3.6785339502534766 treat image : temp/1747899147_2189462_1360439887_fa2e2b1aee0454186a17ab9eec780e47.jpg resize: (1080, 1632) 1360439887 -6.366598794003824 treat image : temp/1747899147_2189462_1360439814_f46c46d128b4b0a73c02e5bb5113cedb.jpg resize: (1080, 1632) 1360439814 -6.504648574564633 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.013992547988891602 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.09281301498413086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03918027877807617 save missing photos in datou_result : time spend for datou_step_exec : 17.778059720993042 time spend to save output : 0.15087318420410156 total time spend for step 1 : 17.928932905197144 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.26user 4.99system 0:22.22elapsed 91%CPU (0avgtext+0avgdata 137488maxresident)k 3080inputs+10576outputs (16major+248837minor)pagefaults 0swaps