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 : 415293 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/415293/ 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 : 3.3777549266815186 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 Sep 17 04:27: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/1758076047_415293_1359394781_030a7bb6dd883faa439fd5f293c091e0.jpg resize: (1080, 1632) 1359394781 -5.923405435921445 treat image : temp/1758076047_415293_1359394746_e85964fe172a9a3f9be7ceb2a1ce75e6.jpg resize: (1080, 1632) 1359394746 -6.008944345449353 treat image : temp/1758076047_415293_1359394729_4cca3507915a9c59b669e968c01d3de4.jpg resize: (1080, 1632) 1359394729 -6.044056107545589 treat image : temp/1758076047_415293_1359394695_5769b81de783d35ff3d66c9b07102049.jpg resize: (1080, 1632) 1359394695 -6.384698712469967 treat image : temp/1758076047_415293_1359394691_4dc248318a07a722fd66070d402cf566.jpg resize: (1080, 1632) 1359394691 -4.712515682006699 treat image : temp/1758076047_415293_1359394445_4b4989b597160d6459837ffbbc07d29d.jpg resize: (1080, 1632) 1359394445 -5.649249134529333 treat image : temp/1758076047_415293_1359394439_5127088dfd692dbd2ff05ca7f0484c2f.jpg resize: (1080, 1632) 1359394439 -5.712694810913242 treat image : temp/1758076047_415293_1359394425_47910aeacdd28061f2a4e31c5b990e15.jpg resize: (1080, 1632) 1359394425 -5.7483716137665155 treat image : temp/1758076047_415293_1359394407_4c0a4d1458bea8bf524c300ef7a399bc.jpg resize: (1080, 1632) 1359394407 -3.7019123518706953 treat image : temp/1758076047_415293_1359394403_d33076eb098ad93411eba98ad52fac4e.jpg resize: (1080, 1632) 1359394403 -3.2312224204015187 treat image : temp/1758076047_415293_1359394083_598cccb69dbb0abec2d1ce419ba09f1c.jpg resize: (1080, 1632) 1359394083 -5.121363169370041 treat image : temp/1758076047_415293_1359394077_db3505268a299251676b101c8f9d1f71.jpg resize: (1080, 1632) 1359394077 -4.821791100572493 treat image : temp/1758076047_415293_1359394065_df00845fad5be6974384636c8f32af24.jpg resize: (1080, 1632) 1359394065 -5.126683494927629 treat image : temp/1758076047_415293_1359394059_83810e05fa219029ad028661d8d9a0c6.jpg resize: (1080, 1632) 1359394059 -5.1043220065228985 treat image : temp/1758076047_415293_1359393988_a3fc3cb3ac9f3531b1cdefa602181378.jpg resize: (1080, 1632) 1359393988 -0.7285289198450358 treat image : temp/1758076047_415293_1359393984_956ccb60f8d47f2703fbf9d2c9d1493e.jpg resize: (1080, 1632) 1359393984 -4.707233359134073 treat image : temp/1758076047_415293_1359393767_e297b8df3b79d77ad689c313fdbcf5ec.jpg resize: (1080, 1632) 1359393767 -5.864807087471658 treat image : temp/1758076047_415293_1359393747_36f37afeef7371ae95dbab2766752409.jpg resize: (1080, 1632) 1359393747 -5.363896642718991 treat image : temp/1758076047_415293_1359393729_c8f13ec3a6affc5bba11010343eca847.jpg resize: (1080, 1632) 1359393729 -0.9389831910045862 treat image : temp/1758076047_415293_1359393699_f5aec86e0433cf0aedb6c8d9b20234c7.jpg resize: (1080, 1632) 1359393699 -1.240994385074933 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.06844544410705566 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.17724394798278809 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01972484588623047 save missing photos in datou_result : time spend for datou_step_exec : 14.959274291992188 time spend to save output : 0.2702322006225586 total time spend for step 1 : 15.229506492614746 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.74user 3.41system 0:20.95elapsed 81%CPU (0avgtext+0avgdata 137256maxresident)k 784inputs+9720outputs (18major+252884minor)pagefaults 0swaps