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 : 2427171 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 : 4676>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2427171/ 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.951523780822754 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 Thu Jul 3 03:57:30 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/1751507846_2427171_1370263022_2d95fcc37d35ce269d16bb0d69c117ab.jpg resize: (1080, 1632) 1370263022 -1.9615368311957422 treat image : temp/1751507846_2427171_1370262979_f6feadf87805e3ca91d469683210ef3a.jpg resize: (1080, 1632) 1370262979 -2.9200667429326677 treat image : temp/1751507846_2427171_1370262930_79467c112102019ff425b9baae60dac6.jpg resize: (1080, 1632) 1370262930 -2.9010141438211408 treat image : temp/1751507846_2427171_1370262912_84990eceffa56d978a1d44b2b8dd8c6f.jpg resize: (1080, 1632) 1370262912 -2.977678866149001 treat image : temp/1751507846_2427171_1370262869_0be8115bc610309e138614a391760818.jpg resize: (1080, 1632) 1370262869 -4.4835962337116335 treat image : temp/1751507846_2427171_1370262862_52ba816b0706167740546b274c558c6a.jpg resize: (1080, 1632) 1370262862 -4.499281312874015 treat image : temp/1751507846_2427171_1370262335_e93eb067e9e280225c0346d8e3aee39a.jpg resize: (1080, 1632) 1370262335 -4.507766371061617 treat image : temp/1751507846_2427171_1370262328_b65dc5eb6d68a53ca836a117f84fcfe9.jpg resize: (1080, 1632) 1370262328 -5.714620286666292 treat image : temp/1751507846_2427171_1370262325_26bbc9224db8ca5c0df3a3a62fbf2c3d.jpg resize: (1080, 1632) 1370262325 -5.705328508074283 treat image : temp/1751507846_2427171_1370262303_ea84c0dc81bcae8f11acb8bc2c705ed5.jpg resize: (1080, 1632) 1370262303 -5.682927448412171 treat image : temp/1751507846_2427171_1370262255_8453cdef6c68088bdc6d8244e151a7bb.jpg resize: (1080, 1632) 1370262255 -5.720033264975126 treat image : temp/1751507846_2427171_1370262245_560c3103b4630b9eb3a7334504fc30b0.jpg resize: (1080, 1632) 1370262245 -5.970348956144136 treat image : temp/1751507846_2427171_1370261881_ccae515bd73a4eb463c92aa5d4b4d75c.jpg resize: (1080, 1632) 1370261881 -5.909776441953553 treat image : temp/1751507846_2427171_1370261880_b689be15ce6745432cd68ae160d746c4.jpg resize: (1080, 1632) 1370261880 -5.87687443485324 treat image : temp/1751507846_2427171_1370261878_f43b0428823413055525894b384be63e.jpg resize: (1080, 1632) 1370261878 -5.964307216124408 treat image : temp/1751507846_2427171_1370261866_341121d8f9a0756c4f5db50ff1c792bf.jpg resize: (1080, 1632) 1370261866 -5.953696963143538 treat image : temp/1751507846_2427171_1370261855_46ea4f6acbf464b350395a0c8226d38e.jpg resize: (1080, 1632) 1370261855 -5.448113568980609 treat image : temp/1751507846_2427171_1370261851_4c4492b3661d7aa265f090c123d789fc.jpg resize: (1080, 1632) 1370261851 -5.3930794683820205 treat image : temp/1751507846_2427171_1370261402_04c7ed134e9fec1e858cef479e733c00.jpg resize: (1080, 1632) 1370261402 -5.398924263395029 treat image : temp/1751507846_2427171_1370261377_4b7b6c6806c5e66b2bd8d3ed03c724d3.jpg resize: (1080, 1632) 1370261377 -5.412541485230457 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.019457340240478516 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.015905380249023438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025996685028076172 save missing photos in datou_result : time spend for datou_step_exec : 14.604504346847534 time spend to save output : 0.06714701652526855 total time spend for step 1 : 14.671651363372803 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 2.86system 0:20.16elapsed 84%CPU (0avgtext+0avgdata 138764maxresident)k 472inputs+9816outputs (7major+171138minor)pagefaults 0swaps