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 : 2226467 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 : 4460>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/2226467/ 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.4050490856170654 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 01:42: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/1751499747_2226467_1370212936_2acf0d5e366978dc42f68025ca7ea68f.jpg resize: (1080, 1632) 1370212936 -4.83062498595963 treat image : temp/1751499747_2226467_1370212933_862b1f9df91a79d14a5cb604cc8cb084.jpg resize: (1080, 1632) 1370212933 -4.434823741139885 treat image : temp/1751499747_2226467_1370212906_1e275b8cb80b58a31c444806eb3ffce6.jpg resize: (1080, 1632) 1370212906 -5.091565949716128 treat image : temp/1751499747_2226467_1370212861_98180704d07f5dd5785d0c3c0f935cac.jpg resize: (1080, 1632) 1370212861 -5.098091795807058 treat image : temp/1751499747_2226467_1370212825_c62fb0638a1d0f0b479f7d5977f234ff.jpg resize: (1080, 1632) 1370212825 -4.5067166304373805 treat image : temp/1751499747_2226467_1370212807_533f915d152af711a61dcdf28d4ab8fe.jpg resize: (1080, 1632) 1370212807 -4.50069270620514 treat image : temp/1751499747_2226467_1370211894_b928643de64292c6154944454223c81d.jpg resize: (1080, 1632) 1370211894 -4.71956938486207 treat image : temp/1751499747_2226467_1370211857_d2f71291b9968807f3490485bd811690.jpg resize: (1080, 1632) 1370211857 -4.746176515540987 treat image : temp/1751499747_2226467_1370211769_717268751508aeb1f9a4d11dc8e8dfdb.jpg resize: (1080, 1632) 1370211769 -5.047081302260753 treat image : temp/1751499747_2226467_1370211685_a7ab0914e37fdc7134f182e355294742.jpg resize: (1080, 1632) 1370211685 -5.049060656368749 treat image : temp/1751499747_2226467_1370211621_8123717b405dfc8b8b9e509d49bee872.jpg resize: (1080, 1632) 1370211621 -5.007539051818504 treat image : temp/1751499747_2226467_1370211484_84bfc94a1f997e6da37dfbddae91e9ec.jpg resize: (1080, 1632) 1370211484 -5.004486326226774 treat image : temp/1751499747_2226467_1370209067_501fd151b73de5062536ef0c06713b03.jpg resize: (1080, 1632) 1370209067 -4.309784654407515 treat image : temp/1751499747_2226467_1370208965_65843231cbf5ae431b47b2914c20b3bb.jpg resize: (1080, 1632) 1370208965 -4.3230201245019835 treat image : temp/1751499747_2226467_1370208879_8b8360581683db1b71506df46efb91e4.jpg resize: (1080, 1632) 1370208879 -4.2984946598871705 treat image : temp/1751499747_2226467_1370208793_1ab75878663ab950e12446109961f3af.jpg resize: (1080, 1632) 1370208793 -4.61389897809603 treat image : temp/1751499747_2226467_1370208725_26b9e023600c039cc747eba8821ab165.jpg resize: (1080, 1632) 1370208725 -4.5930297611331135 treat image : temp/1751499747_2226467_1370208630_aae01e8ac675220773f331e408f52401.jpg resize: (1080, 1632) 1370208630 -1.3625185872647902 treat image : temp/1751499747_2226467_1370208108_825492544b1b952ae6a1ee6978f649ec.jpg resize: (1080, 1632) 1370208108 -2.5324669188123723 treat image : temp/1751499747_2226467_1370208076_106ce8afa8df13215ad8903c65d4aa13.jpg resize: (1080, 1632) 1370208076 -2.9565664604411284 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.015542984008789062 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.0149688720703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019094467163085938 save missing photos in datou_result : time spend for datou_step_exec : 16.231027603149414 time spend to save output : 0.0551905632019043 total time spend for step 1 : 16.28621816635132 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 4.40system 0:20.22elapsed 93%CPU (0avgtext+0avgdata 137792maxresident)k 3416inputs+8568outputs (15major+260175minor)pagefaults 0swaps