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 : 2629676 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 : 197>100 please execute split_portfolio.py -i 24628059 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3239073'] with mtr_portfolio_ids : ['24628059'] and first list_photo_ids : [] new path : /proc/2629676/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9811241626739502 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 Sat Jul 5 00: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/1751668349_2629676_1370715171_fbbf65dd163f44fc9f3a995fdcd6f22b.jpg resize: (1080, 1632) 1370715171 -5.502384139319213 treat image : temp/1751668349_2629676_1370715170_de86980e96db8f2320316050bac6a268.jpg resize: (1080, 1632) 1370715170 -5.502384139319213 treat image : temp/1751668349_2629676_1370715168_72b4fb4f71a76ff3d921e2306cc086d5.jpg resize: (1080, 1632) 1370715168 -5.103445466217316 treat image : temp/1751668349_2629676_1370715167_3c3a5648ab61f3f02ee077cad7a6badb.jpg resize: (1080, 1632) 1370715167 -5.103445466217316 treat image : temp/1751668349_2629676_1370715164_843ce85e4a1075ef310372ed0cd61333.jpg resize: (1080, 1632) 1370715164 -5.35749882691184 treat image : temp/1751668349_2629676_1370715163_e0c66881d44115ca1ad9d3378960c1ca.jpg resize: (1080, 1632) 1370715163 -5.35749882691184 treat image : temp/1751668349_2629676_1370715160_8fdd148c13e7e1efb00b0d2623af279a.jpg resize: (1080, 1632) 1370715160 -5.310983005037185 treat image : temp/1751668349_2629676_1370715159_bb11da58b9a59d953834a44cbd847530.jpg resize: (1080, 1632) 1370715159 -5.310983005037185 treat image : temp/1751668349_2629676_1370715157_370b1e55be6aa4a7fc9685fcfd56372e.jpg resize: (1080, 1632) 1370715157 -5.098034089863136 treat image : temp/1751668349_2629676_1370715156_3afd62d316b8629bb4ee91a4582a8fa2.jpg resize: (1080, 1632) 1370715156 -5.098034089863136 treat image : temp/1751668349_2629676_1370715153_ac500ba870af822981f1e7d989c6130e.jpg resize: (1080, 1632) 1370715153 -1.8961462469103563 treat image : temp/1751668349_2629676_1370715152_3bfe8ed6c115d514fb8fbaae0d3f037f.jpg resize: (1080, 1632) 1370715152 -1.8961462469103563 treat image : temp/1751668349_2629676_1370715084_c871816d1082e1b998a7b31904fb6f4c.jpg resize: (1080, 1632) 1370715084 -4.777209430931743 treat image : temp/1751668349_2629676_1370715082_7a58672aea33259a941af4d387e105fd.jpg resize: (1080, 1632) 1370715082 -5.76343260988805 treat image : temp/1751668349_2629676_1370715077_8da091ac3670d0f201e795b7527193a7.jpg resize: (1080, 1632) 1370715077 -5.7125009504990825 treat image : temp/1751668349_2629676_1370715074_c121e9b7572a021af42869e6f2589f8d.jpg resize: (1080, 1632) 1370715074 -4.886253962844346 treat image : temp/1751668349_2629676_1370715072_6e5984fa3fe7d83115fb66580cdb845b.jpg resize: (1080, 1632) 1370715072 -5.430082762311953 treat image : temp/1751668349_2629676_1370715066_99c36cbf71e5272fc7ae2d144a0d3b58.jpg resize: (1080, 1632) 1370715066 -4.683135747638735 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 : 18 time used for this insertion : 0.012065887451171875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012977361679077148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01773977279663086 save missing photos in datou_result : time spend for datou_step_exec : 15.666341304779053 time spend to save output : 0.0476689338684082 total time spend for step 1 : 15.714010238647461 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.07user 4.85system 0:21.64elapsed 82%CPU (0avgtext+0avgdata 137984maxresident)k 832inputs+8520outputs (23major+226244minor)pagefaults 0swaps