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 : 1994537 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 : 1505>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1994537/ 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.295822858810425 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 Mon May 12 11:47: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/1747043249_1994537_1357620859_82017c94c55830d9754e459cb380e70d.jpg resize: (1080, 1632) 1357620859 -1.5170035711889012 treat image : temp/1747043249_1994537_1357620855_33fade5ae0e637d599d9114b039c3a1b.jpg resize: (1080, 1632) 1357620855 -1.887948795155346 treat image : temp/1747043249_1994537_1357620853_d69dcb6556ed433263e3f72c137d504e.jpg resize: (1080, 1632) 1357620853 -3.9941739517625288 treat image : temp/1747043249_1994537_1357620850_ed30f84f4e4c666e1b0a5b1641435463.jpg resize: (1080, 1632) 1357620850 -4.294633773005907 treat image : temp/1747043249_1994537_1357620816_ddff406d90aabe556f66c8fb8f500333.jpg resize: (1080, 1632) 1357620816 -5.6383754913153235 treat image : temp/1747043249_1994537_1357620815_8a15b90383aaa46ddcaaeca8f887c464.jpg resize: (1080, 1632) 1357620815 -5.7920048695927875 treat image : temp/1747043249_1994537_1357620813_35762b1eec1ffb371acd829651395722.jpg resize: (1080, 1632) 1357620813 -6.20878773007747 treat image : temp/1747043249_1994537_1357620810_79cd47ff016e8fa5417f7d859ef9a793.jpg resize: (1080, 1632) 1357620810 -3.6099032530002457 treat image : temp/1747043249_1994537_1357620806_95cd10a4ebd4c34988c496e8312b7086.jpg resize: (1080, 1632) 1357620806 -3.1485387092669894 treat image : temp/1747043249_1994537_1357620739_760a2b1dbc878ce6270dc337b4cb95e1.jpg resize: (1080, 1632) 1357620739 -3.3585365259762754 treat image : temp/1747043249_1994537_1357620710_9e627d3598acec83bf5b2e9ae71ce32f.jpg resize: (1080, 1632) 1357620710 -5.963680476465606 treat image : temp/1747043249_1994537_1357620680_b09e22d9596af4825e850dab4b15656b.jpg resize: (1080, 1632) 1357620680 -5.979477263077711 treat image : temp/1747043249_1994537_1357620675_72b8c3258d89ebc9f86a6bbe64fa23ec.jpg resize: (1080, 1632) 1357620675 -4.976048741295867 treat image : temp/1747043249_1994537_1357620672_d11042a18160876232333458e4771d41.jpg resize: (1080, 1632) 1357620672 -5.393525663376385 treat image : temp/1747043249_1994537_1357620669_732cc8c181b8daaf405823c678f4101b.jpg resize: (1080, 1632) 1357620669 -5.358688339626195 treat image : temp/1747043249_1994537_1357620531_751b87b23b0916bda97650ce8d4f89c4.jpg resize: (1080, 1632) 1357620531 -5.946662878543048 treat image : temp/1747043249_1994537_1357620529_a1aa1f4cd730f489fe5d3b9889f113d3.jpg resize: (1080, 1632) 1357620529 -1.804452701763907 treat image : temp/1747043249_1994537_1357620527_8c718de46e4ec0dcca42107fbda60b4b.jpg resize: (1080, 1632) 1357620527 -1.214268600026778 treat image : temp/1747043249_1994537_1357620444_5a4c89c8488a308fbd943d4ffc9de73d.jpg resize: (1080, 1632) 1357620444 -5.530443568697296 treat image : temp/1747043249_1994537_1357620438_58338c8048d6fb99871d946e9f277cae.jpg resize: (1080, 1632) 1357620438 -6.167559355209343 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.014533758163452148 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.01287531852722168 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015913009643554688 save missing photos in datou_result : time spend for datou_step_exec : 20.379017114639282 time spend to save output : 0.04836249351501465 total time spend for step 1 : 20.427379608154297 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.24user 7.59system 0:26.30elapsed 86%CPU (0avgtext+0avgdata 140032maxresident)k 3264inputs+9720outputs (29major+240800minor)pagefaults 0swaps