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 : 2516723 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 : 2625>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2516723/ 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 : 1.9901080131530762 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 6 17:12:29 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/1741277547_2516723_1341265436_660e96b2c08a3d43d72abb9fbd13c74a.jpg resize: (1080, 1632) 1341265436 -2.302151127929086 treat image : temp/1741277547_2516723_1341265422_f370d7d0b63b7311c0603b789c9563de.jpg resize: (1080, 1632) 1341265422 -3.961548992194844 treat image : temp/1741277547_2516723_1341265418_0a9bccc30ee6bad6c3b71d0ccf8be264.jpg resize: (1080, 1632) 1341265418 -5.577601485065373 treat image : temp/1741277547_2516723_1341265413_dd14ebb7a6d2377f70a9c0b500822c1b.jpg resize: (1080, 1632) 1341265413 -6.074665150681186 treat image : temp/1741277547_2516723_1341265409_a7d07066be8442432a173b0fdc74c2fc.jpg resize: (1080, 1632) 1341265409 -6.280125474609046 treat image : temp/1741277547_2516723_1341265391_423808ba54d58286e5f9f29aa265f435.jpg resize: (1080, 1632) 1341265391 -6.250404798875002 treat image : temp/1741277547_2516723_1341265377_b51a8f96d8c03205284b005e0e678e5d.jpg resize: (1080, 1632) 1341265377 -6.4043556698146515 treat image : temp/1741277547_2516723_1341265371_88b3f14ecf1b2b8407786e6de9f29f5a.jpg resize: (1080, 1632) 1341265371 -2.068278761900167 treat image : temp/1741277547_2516723_1341265368_ab14eef5cb5f4bbb7d66097777f783d5.jpg resize: (1080, 1632) 1341265368 -4.374395235338218 treat image : temp/1741277547_2516723_1341265362_3227e2ec53cf467a0a63b2a5987acf10.jpg resize: (1080, 1632) 1341265362 -6.0334828473968285 treat image : temp/1741277547_2516723_1341265353_4aa54ea4675341e181c60b76d71ec2f4.jpg resize: (1080, 1632) 1341265353 -5.312695623506647 treat image : temp/1741277547_2516723_1341265340_e8f39943ad59579ed9ef92848710b864.jpg resize: (1080, 1632) 1341265340 -4.521390417188783 treat image : temp/1741277547_2516723_1341265316_c0fbe3618bd9dac4e0f9958db6c07a76.jpg resize: (1080, 1632) 1341265316 -5.857319882323446 treat image : temp/1741277547_2516723_1341265298_04a6fbf93e6071974231bc2083968ecd.jpg resize: (1080, 1632) 1341265298 -5.857319882323446 treat image : temp/1741277547_2516723_1341265297_da40f991a7b583717e15c4f7a20901ad.jpg resize: (1080, 1632) 1341265297 -5.808696015359681 treat image : temp/1741277547_2516723_1341265289_dc3328463c311a4daa390e2a11b05be7.jpg resize: (1080, 1632) 1341265289 -5.808696015359681 treat image : temp/1741277547_2516723_1341265288_6ef2d4f3ece3e92287b993fdcf7ce8f7.jpg resize: (1080, 1632) 1341265288 -2.73005915033608 treat image : temp/1741277547_2516723_1341265281_3bc1bbbf4f1e3cc5aba7967f618a83c2.jpg resize: (1080, 1632) 1341265281 -4.447703295126122 treat image : temp/1741277547_2516723_1341265259_7e1c508416aa0229ace279f45a10f91c.jpg resize: (1080, 1632) 1341265259 -2.73005915033608 treat image : temp/1741277547_2516723_1341265249_78769d4cf2ddac818b36f43a7c73f4ea.jpg resize: (1080, 1632) 1341265249 -4.447703295126122 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.01266622543334961 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.012875556945800781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014923334121704102 save missing photos in datou_result : time spend for datou_step_exec : 17.96072816848755 time spend to save output : 0.045592308044433594 total time spend for step 1 : 18.006320476531982 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.63user 5.32system 0:22.15elapsed 94%CPU (0avgtext+0avgdata 137284maxresident)k 112inputs+10072outputs (0major+259797minor)pagefaults 0swaps