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 : 873769 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 : 6198>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/873769/ 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.6086583137512207 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 Aug 1 11: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/1754039546_873769_1374751952_e8cc72172d0dd15c9287dc5fc7f93051.jpg resize: (1080, 1632) 1374751952 -6.010967547367422 treat image : temp/1754039546_873769_1374751945_f0eb7b58943c8d0e44a73cd06326bd16.jpg resize: (1080, 1632) 1374751945 -4.4788006536968465 treat image : temp/1754039546_873769_1374751940_101fb2e2367a2c602443a5ac4a0e7fda.jpg resize: (1080, 1632) 1374751940 -4.7447561921868235 treat image : temp/1754039546_873769_1374751922_ff58b37ca719a887b0387a719c9330f9.jpg resize: (1080, 1632) 1374751922 -2.9056922070702087 treat image : temp/1754039546_873769_1374751676_ab89d95a2ea31da0f6da614a4e00ae1a.jpg resize: (1080, 1632) 1374751676 -4.475707038322633 treat image : temp/1754039546_873769_1374751632_da86d947ad591366cfd0a99d413cf08c.jpg resize: (1080, 1632) 1374751632 -3.887176110900381 treat image : temp/1754039546_873769_1374751603_edab05d21bce402322da0e25adb74c7e.jpg resize: (1080, 1632) 1374751603 -3.923065513594645 treat image : temp/1754039546_873769_1374751567_a0e7ec594748e57c724b4e72c4e79f10.jpg resize: (1080, 1632) 1374751567 -2.262200307856836 treat image : temp/1754039546_873769_1374751524_d49a5a085980673adbc975c80b45b921.jpg resize: (1080, 1632) 1374751524 -0.9848681511624351 treat image : temp/1754039546_873769_1374751488_d5b7f13c206a3e1fa86951e9a487bebe.jpg resize: (1080, 1632) 1374751488 -3.0788734859427116 treat image : temp/1754039546_873769_1374751303_4ed1d4717256203ca0ca15aec03c9bd8.jpg resize: (1080, 1632) 1374751303 -5.320959795330105 treat image : temp/1754039546_873769_1374751302_0b2fb9d7b584191201e6aa70c5b14db6.jpg resize: (1080, 1632) 1374751302 -3.908195286821111 treat image : temp/1754039546_873769_1374751300_cd89bf73a1c4a1cc0f5f2ecd32194674.jpg resize: (1080, 1632) 1374751300 -5.085283896554999 treat image : temp/1754039546_873769_1374751296_be2450b5b55938a9df696294358ae740.jpg resize: (1080, 1632) 1374751296 -4.993680782313733 treat image : temp/1754039546_873769_1374751288_176213a8c517ce7eb9664e6e499f4099.jpg resize: (1080, 1632) 1374751288 -3.1310069136157375 treat image : temp/1754039546_873769_1374751285_632d35982ae764e20bef08edbaa46bc9.jpg resize: (1080, 1632) 1374751285 -1.7826687691765608 treat image : temp/1754039546_873769_1374751164_452b068a338bf484a600a02de1acf794.jpg resize: (1080, 1632) 1374751164 -5.752311173066708 treat image : temp/1754039546_873769_1374751144_dbbe45e2e148e65f6147dc602d2f25f5.jpg resize: (1080, 1632) 1374751144 -5.175023087364116 treat image : temp/1754039546_873769_1374751137_2bb752fe5baad69dcaeab44128ff0f94.jpg resize: (1080, 1632) 1374751137 -5.713381716347546 treat image : temp/1754039546_873769_1374751117_73bcfd02ccb1529e6fc9997bc5a8825e.jpg resize: (1080, 1632) 1374751117 -5.422692346080978 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.013444900512695312 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.01812458038330078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030011653900146484 save missing photos in datou_result : time spend for datou_step_exec : 15.798633575439453 time spend to save output : 0.06889224052429199 total time spend for step 1 : 15.867525815963745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 3.41system 0:20.08elapsed 91%CPU (0avgtext+0avgdata 138036maxresident)k 288inputs+8872outputs (17major+255238minor)pagefaults 0swaps