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 : 1870331 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 : 1752>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1870331/ 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 : 5.362272024154663 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 Tue May 13 08:52:34 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/1747119148_1870331_1357783342_83d8b35ce88716367cae74c10a56396a.jpg resize: (1080, 1632) 1357783342 -4.303206467882673 treat image : temp/1747119148_1870331_1357783339_4ceff03758673b82b8656b01227d0a73.jpg resize: (1080, 1632) 1357783339 -5.766709403698454 treat image : temp/1747119148_1870331_1357783336_f4775dd8a6ef675b0a9c6b882df50f5b.jpg resize: (1080, 1632) 1357783336 -5.593547305374824 treat image : temp/1747119148_1870331_1357783332_a3b5ff07948383e237da883ef0a3d4d2.jpg resize: (1080, 1632) 1357783332 -2.7644766742965445 treat image : temp/1747119148_1870331_1357783327_67b5535c6eb264e6b233f9bebfa7eeb4.jpg resize: (1080, 1632) 1357783327 -4.767649274131616 treat image : temp/1747119148_1870331_1357783289_ca747442b8996aaebab12e5c0aaacc0c.jpg resize: (1080, 1632) 1357783289 -5.7935181227165815 treat image : temp/1747119148_1870331_1357783286_fa8e67becfbfc91773a2d103a90de79f.jpg resize: (1080, 1632) 1357783286 -3.1936736994917485 treat image : temp/1747119148_1870331_1357783283_807c72377f08c5da174b1134e572fe58.jpg resize: (1080, 1632) 1357783283 -6.176291669534654 treat image : temp/1747119148_1870331_1357783280_660c0c2e833d29313d31ed2a1b260b33.jpg resize: (1080, 1632) 1357783280 -5.963380139893002 treat image : temp/1747119148_1870331_1357783248_85830c66c36f5233d2c0a8fdbc7b5531.jpg resize: (1080, 1632) 1357783248 -2.6289159413192063 treat image : temp/1747119148_1870331_1357783244_1f6448ff13eac4ea98c7bdec6356c2c5.jpg resize: (1080, 1632) 1357783244 -3.4030077743313836 treat image : temp/1747119148_1870331_1357783240_8a334e9107d1ecdcfab0c2ee98a9aca6.jpg resize: (1080, 1632) 1357783240 -4.209194950238912 treat image : temp/1747119148_1870331_1357783237_61f5756fd5b4e4b3e10e134c46860749.jpg resize: (1080, 1632) 1357783237 -4.907306029914362 treat image : temp/1747119148_1870331_1357783205_4cf07381a0ab895764024511d6820cd7.jpg resize: (1080, 1632) 1357783205 -4.765044948454103 treat image : temp/1747119148_1870331_1357783199_e160d0644e208977a2ec6adaa7240f30.jpg resize: (1080, 1632) 1357783199 -3.045506637976122 treat image : temp/1747119148_1870331_1357783194_d717700e9db5312614556283a5871237.jpg resize: (1080, 1632) 1357783194 0.29290061066197376 treat image : temp/1747119148_1870331_1357783004_c54399772f6f048f742073f6cbc5dd35.jpg resize: (1080, 1632) 1357783004 -5.058837790170239 treat image : temp/1747119148_1870331_1357782962_7bac04b97ccf2b473bb490622e724924.jpg resize: (1080, 1632) 1357782962 -5.0108909813362965 treat image : temp/1747119148_1870331_1357782913_053d89d86451df2296cf071bc334519b.jpg resize: (1080, 1632) 1357782913 -5.056719077567958 treat image : temp/1747119148_1870331_1357769558_d11cf9632871f08cacefcde4c3c508f4.jpg resize: (1080, 1632) 1357769558 -6.512051944071165 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.014625787734985352 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.2469041347503662 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05912017822265625 save missing photos in datou_result : time spend for datou_step_exec : 17.630997896194458 time spend to save output : 0.3256227970123291 total time spend for step 1 : 17.956620693206787 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 5.84system 0:27.30elapsed 75%CPU (0avgtext+0avgdata 138732maxresident)k 160inputs+9304outputs (0major+256266minor)pagefaults 0swaps