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 : 1733877 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 : 2464>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/1733877/ 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.1641945838928223 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 Fri Mar 21 21:42: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/1742589749_1733877_1346225469_aecf6e1cc8d642cf71250278d0d88728.jpg resize: (1080, 1632) 1346225469 -2.477820347113438 treat image : temp/1742589749_1733877_1346225430_f692e20b2b20f170c2bba7805cbcbbb1.jpg resize: (1080, 1632) 1346225430 -2.5969493411942546 treat image : temp/1742589749_1733877_1346225408_edfdb50966c9fe90b37defb2a1ba999a.jpg resize: (1080, 1632) 1346225408 -2.8157514632812406 treat image : temp/1742589749_1733877_1346225378_f5486ecf2ad57312ce9a27ff0afae884.jpg resize: (1080, 1632) 1346225378 -7.040216366389653 treat image : temp/1742589749_1733877_1346225307_88ff2eecb53150425dbc768467c80864.jpg resize: (1080, 1632) 1346225307 -6.97855479263554 treat image : temp/1742589749_1733877_1346225285_d51e5869ec4acbc3aeffea2e74e4d2b8.jpg resize: (1080, 1632) 1346225285 -6.950418438865683 treat image : temp/1742589749_1733877_1346225265_a37a0bc338dd9ea91ced5e375ec31249.jpg resize: (1080, 1632) 1346225265 -6.796839453958128 treat image : temp/1742589749_1733877_1346225263_6eecc77d7aca1b47c18d765b1ceb6eae.jpg resize: (1080, 1632) 1346225263 -6.652235232829616 treat image : temp/1742589749_1733877_1346225258_ee43ac3a9ac563280764c383f5c71072.jpg resize: (1080, 1632) 1346225258 -5.104219197577726 treat image : temp/1742589749_1733877_1346225255_a1f4acfd9b85d29466321eb7a2badc9c.jpg resize: (1080, 1632) 1346225255 -6.529629365936264 treat image : temp/1742589749_1733877_1346225217_deb40208c452c18c27bbcb24342debcb.jpg resize: (1080, 1632) 1346225217 -6.260279376684208 treat image : temp/1742589749_1733877_1346225202_93715fa61a49fe56eec0e0c6c828c53d.jpg resize: (1080, 1632) 1346225202 -6.552984416951129 treat image : temp/1742589749_1733877_1346225183_5d281822c232b776520759d9741102de.jpg resize: (1080, 1632) 1346225183 -3.457269999880012 treat image : temp/1742589749_1733877_1346225164_97126b32ed97a43d92880a88982e1fa4.jpg resize: (1080, 1632) 1346225164 -2.0155010548337167 treat image : temp/1742589749_1733877_1346225135_c1220f36e8c71f33347cf6be3641d7c5.jpg resize: (1080, 1632) 1346225135 -2.1618286812907317 treat image : temp/1742589749_1733877_1346225122_68da72a9ac9b10daad896edea80a2c19.jpg resize: (1080, 1632) 1346225122 -6.184747602331212 treat image : temp/1742589749_1733877_1346225041_51e25ac86ffe2e7879d289eca321acaa.jpg resize: (1080, 1632) 1346225041 -6.475951541564543 treat image : temp/1742589749_1733877_1346225024_44df67c5c92638d12f2d932688ad16d1.jpg resize: (1080, 1632) 1346225024 -5.751096974019745 treat image : temp/1742589749_1733877_1346224983_de8952405d5704ea34a76f7947838805.jpg resize: (1080, 1632) 1346224983 -5.777797052752419 treat image : temp/1742589749_1733877_1346224980_03d2fa895f5a9195847ae8e9d8705cdc.jpg resize: (1080, 1632) 1346224980 -4.925347356122624 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.03952789306640625 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.01702260971069336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020957231521606445 save missing photos in datou_result : time spend for datou_step_exec : 15.61627721786499 time spend to save output : 0.08232402801513672 total time spend for step 1 : 15.698601245880127 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 3.43system 0:21.67elapsed 83%CPU (0avgtext+0avgdata 139208maxresident)k 88inputs+11320outputs (13major+264563minor)pagefaults 0swaps