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 : 4010399 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 : 3572>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/4010399/ 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.7361693382263184 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 Mar 22 06:42:32 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/1742622149_4010399_1346339247_e77ef19de5c86de9ea07f0fe37006998.jpg resize: (1080, 1632) 1346339247 -5.674619643788759 treat image : temp/1742622149_4010399_1346339245_20e5281292e883cb71093b5cf317ec09.jpg resize: (1080, 1632) 1346339245 -1.962193516195961 treat image : temp/1742622149_4010399_1346339242_ba559985e9084b9ae910864efb033ae3.jpg resize: (1080, 1632) 1346339242 -2.347116512473472 treat image : temp/1742622149_4010399_1346339239_98b0f293ae0e29b3448702ae75a6cc4c.jpg resize: (1080, 1632) 1346339239 -5.393860986354007 treat image : temp/1742622149_4010399_1346338970_8c89d2a771244b61e6d56078f707babc.jpg resize: (1080, 1632) 1346338970 -1.611668333460305 treat image : temp/1742622149_4010399_1346338967_41171356f1205bf5e4fb201147d4de25.jpg resize: (1080, 1632) 1346338967 -3.3645077549099525 treat image : temp/1742622149_4010399_1346338964_44607fae702bb638e2ea97710ff65c70.jpg resize: (1080, 1632) 1346338964 -5.399909807732771 treat image : temp/1742622149_4010399_1346338959_bd9f1db46f7e4250e543cfd18c71e20b.jpg resize: (1080, 1632) 1346338959 -5.681665091295064 treat image : temp/1742622149_4010399_1346338958_9a3407cd9f804d179c08aa4537a7855e.jpg resize: (1080, 1632) 1346338958 -6.444191409698834 treat image : temp/1742622149_4010399_1346338954_10e613d571cd5e495d91cf1827fd6d12.jpg resize: (1080, 1632) 1346338954 -6.480044001855897 treat image : temp/1742622149_4010399_1346338841_1a7a7e786986db20b053f46b32410e53.jpg resize: (1080, 1632) 1346338841 -6.184361661376017 treat image : temp/1742622149_4010399_1346338839_728d81a67815309ab62184fed59fc268.jpg resize: (1080, 1632) 1346338839 -6.184361661376017 treat image : temp/1742622149_4010399_1346338836_e62ed6970aaa20faf04c1e64788a21b5.jpg resize: (1080, 1632) 1346338836 -6.8508928031212255 treat image : temp/1742622149_4010399_1346338833_67539aa3dab9d343c209f5486c939ca4.jpg resize: (1080, 1632) 1346338833 -6.8508928031212255 treat image : temp/1742622149_4010399_1346338831_d37352634297abdde29b5b4caedfac9f.jpg resize: (1080, 1632) 1346338831 -6.5049771955171005 treat image : temp/1742622149_4010399_1346338830_7e4dae90d184a81c221cdf2eb4d0ddb3.jpg resize: (1080, 1632) 1346338830 -6.5049771955171005 treat image : temp/1742622149_4010399_1346338828_60499a25dfd7be12020352b861450bc9.jpg resize: (1080, 1632) 1346338828 -6.088823913471611 treat image : temp/1742622149_4010399_1346338826_13c784b0ab944159ddd5a3ac23117b71.jpg resize: (1080, 1632) 1346338826 -6.088823913471611 treat image : temp/1742622149_4010399_1346338823_a44e521e862577869efc062891ebb522.jpg resize: (1080, 1632) 1346338823 -5.383198323424627 treat image : temp/1742622149_4010399_1346338822_6b8bd537ea195cb95ee20bb1b3a38cd6.jpg resize: (1080, 1632) 1346338822 -5.383198323424627 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.017798900604248047 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.10226154327392578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06288480758666992 save missing photos in datou_result : time spend for datou_step_exec : 16.696104288101196 time spend to save output : 0.1880950927734375 total time spend for step 1 : 16.884199380874634 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 5.16system 0:23.49elapsed 83%CPU (0avgtext+0avgdata 140896maxresident)k 168inputs+11440outputs (13major+260559minor)pagefaults 0swaps