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 : 357159 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 : 8122>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/357159/ 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.2603349685668945 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 18:47: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/1751734048_357159_1370817684_529b077598d7fc43a3fed7cfb86d16bb.jpg resize: (1080, 1632) 1370817684 -5.628869391096238 treat image : temp/1751734048_357159_1370817682_ee5ceaaaa73000e6bbe53b3458f8ad5c.jpg resize: (1080, 1632) 1370817682 -5.5940758374727135 treat image : temp/1751734048_357159_1370817679_3b52f0ff18cc044f098b78cc75c6a9f8.jpg resize: (1080, 1632) 1370817679 -5.0791455975329205 treat image : temp/1751734048_357159_1370817676_23ce20e1b91df5a5018b5706dcaa1e9c.jpg resize: (1080, 1632) 1370817676 -5.632639102200959 treat image : temp/1751734048_357159_1370817674_2949e2e157c5ef7131719d16262e3e43.jpg resize: (1080, 1632) 1370817674 -5.492885316747301 treat image : temp/1751734048_357159_1370817673_d86cb4accf1bb02f4921d99a302202f2.jpg resize: (1080, 1632) 1370817673 -5.521044684969853 treat image : temp/1751734048_357159_1370817668_62d9f12f62f8a9edc1a4e794b63183b5.jpg resize: (1080, 1632) 1370817668 -5.519266046305013 treat image : temp/1751734048_357159_1370817665_2b99eca58b33cdeec9b4ccfc8a1012e9.jpg resize: (1080, 1632) 1370817665 -5.526989287509961 treat image : temp/1751734048_357159_1370817664_eac53e292575e13d950bf74db3c1f36c.jpg resize: (1080, 1632) 1370817664 -3.64406595236124 treat image : temp/1751734048_357159_1370817663_7b82388466340f2dab9b8788b6c63233.jpg resize: (1080, 1632) 1370817663 -0.8017869323333936 treat image : temp/1751734048_357159_1370817662_199156f090dbb2e9f57368713c01441a.jpg resize: (1080, 1632) 1370817662 -1.6529448032708487 treat image : temp/1751734048_357159_1370817660_d19c14be6f3c04f9ed61cbdd22b6b708.jpg resize: (1080, 1632) 1370817660 -2.6589949971368103 treat image : temp/1751734048_357159_1370817655_979a3fc21a1870aa057334fb7377e4e3.jpg resize: (1080, 1632) 1370817655 -2.649357424750642 treat image : temp/1751734048_357159_1370817652_cc432f14ec556c77b62892099fedab5e.jpg resize: (1080, 1632) 1370817652 -2.592690523869437 treat image : temp/1751734048_357159_1370817649_29d8145841ede73861e27e31ded94a02.jpg resize: (1080, 1632) 1370817649 -2.230205528642438 treat image : temp/1751734048_357159_1370817646_bd3a7b646ffb37c76c21d7306eee3d86.jpg resize: (1080, 1632) 1370817646 -4.133291624819127 treat image : temp/1751734048_357159_1370817642_c6eaa9c00c365d009facc6dd84755a06.jpg resize: (1080, 1632) 1370817642 -4.215789127495137 treat image : temp/1751734048_357159_1370817638_72af31588a6d73b5873f557c2505791a.jpg resize: (1080, 1632) 1370817638 -4.524826029088464 treat image : temp/1751734048_357159_1370817557_ace5f517e0d06a23dfa0a9edf84c247f.jpg resize: (1080, 1632) 1370817557 -2.7612729368431856 treat image : temp/1751734048_357159_1370817555_e1818c8edfa0341eabcece5656b59f4f.jpg resize: (1080, 1632) 1370817555 -4.844210775803716 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.017230749130249023 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.018253087997436523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020093441009521484 save missing photos in datou_result : time spend for datou_step_exec : 15.219754457473755 time spend to save output : 0.06006431579589844 total time spend for step 1 : 15.279818773269653 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 3.40system 0:21.39elapsed 80%CPU (0avgtext+0avgdata 139516maxresident)k 0inputs+8672outputs (2major+253358minor)pagefaults 0swaps