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 : 3816531 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 : 3714>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3816531/ 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.25297212600708 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 Wed Jul 9 19:27: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/1752082047_3816531_1371429066_296ec9556ecd59dc3995439aafafff22.jpg resize: (1080, 1632) 1371429066 -5.6887561318758895 treat image : temp/1752082047_3816531_1371429065_e89cabe8163b523daddc5042c544bc01.jpg resize: (1080, 1632) 1371429065 -5.713203330408932 treat image : temp/1752082047_3816531_1371429064_e24569407709d21cda94a1226c602bc2.jpg resize: (1080, 1632) 1371429064 -3.769798144776006 treat image : temp/1752082047_3816531_1371429063_047eca2dd69915537a4a3735cd23d62e.jpg resize: (1080, 1632) 1371429063 -5.630279987121538 treat image : temp/1752082047_3816531_1371429062_a58eb8eb86806a9a04315e31f95ab9ca.jpg resize: (1080, 1632) 1371429062 -5.643536639616339 treat image : temp/1752082047_3816531_1371429061_740f09bbcc293e99cdb3b88e1b666377.jpg resize: (1080, 1632) 1371429061 -5.615783664741991 treat image : temp/1752082047_3816531_1371429023_f25fe8c3da083679422ed7bdb10c088b.jpg resize: (1080, 1632) 1371429023 -0.2939935259662393 treat image : temp/1752082047_3816531_1371429021_2f522621f70350f374b7af6bfce1f745.jpg resize: (1080, 1632) 1371429021 -5.607556960799589 treat image : temp/1752082047_3816531_1371429019_f151b63a9e9144ea8072236a8e9bf799.jpg resize: (1080, 1632) 1371429019 -4.871141526327568 treat image : temp/1752082047_3816531_1371429017_bc5719d4967fb57e124ec7b84b16225d.jpg resize: (1080, 1632) 1371429017 -4.952974525214968 treat image : temp/1752082047_3816531_1371429012_6fd7bdcfa1007dda5626bad48c1aaa41.jpg resize: (1080, 1632) 1371429012 -4.559149962764554 treat image : temp/1752082047_3816531_1371429011_ec1e1f444e6617e107f5308e17f352fb.jpg resize: (1080, 1632) 1371429011 -3.541765196636708 treat image : temp/1752082047_3816531_1371429010_e46342015098ca153f304ad24dd33b57.jpg resize: (1080, 1632) 1371429010 -5.003736190038311 treat image : temp/1752082047_3816531_1371429009_3e77134d20df0850c29fcd1007113f49.jpg resize: (1080, 1632) 1371429009 -5.1708461945357405 treat image : temp/1752082047_3816531_1371429008_b0540896d6a0aabf924cf47e32b73974.jpg resize: (1080, 1632) 1371429008 -1.652467477923085 treat image : temp/1752082047_3816531_1371429007_652d344b51e75bbca77980a8fb1a4c98.jpg resize: (1080, 1632) 1371429007 -1.6544716532975168 treat image : temp/1752082047_3816531_1371428897_1f5b5cea5c83c7b68fd86768fed9b651.jpg resize: (1080, 1632) 1371428897 -1.3939072155926278 treat image : temp/1752082047_3816531_1371428895_ed05d8cc316f11c30df63a722edbc76d.jpg resize: (1080, 1632) 1371428895 -2.493529304725143 treat image : temp/1752082047_3816531_1371428893_344b489f6cbf61b171c301615798fedc.jpg resize: (1080, 1632) 1371428893 -3.8954012369510456 treat image : temp/1752082047_3816531_1371428891_5788b4833a5c25f1c536c54b3ccfed2f.jpg resize: (1080, 1632) 1371428891 -4.390821910011771 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.012856245040893555 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.012659549713134766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014033079147338867 save missing photos in datou_result : time spend for datou_step_exec : 14.144038438796997 time spend to save output : 0.045196533203125 total time spend for step 1 : 14.189234972000122 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 2.58system 0:18.91elapsed 87%CPU (0avgtext+0avgdata 139108maxresident)k 56inputs+8752outputs (12major+176225minor)pagefaults 0swaps