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 : 987299 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 : 3576>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/987299/ 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.0667076110839844 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 04:27: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/1747103248_987299_1357745564_2fd60b91a9eaf3cd64c5c28da6b0d289.jpg resize: (1080, 1632) 1357745564 -5.879881903264709 treat image : temp/1747103248_987299_1357745563_821f64a87dcfc8bb4c9b8c33595ec2de.jpg resize: (1080, 1632) 1357745563 -4.605655490839187 treat image : temp/1747103248_987299_1357745561_00000fa6b022ae222b64d5a0ed6fac04.jpg resize: (1080, 1632) 1357745561 -5.58784434706242 treat image : temp/1747103248_987299_1357745559_9c295b7b5515b1afb87bdb14acbdd699.jpg resize: (1080, 1632) 1357745559 -3.8772366009354866 treat image : temp/1747103248_987299_1357745558_23b83a00b2809c57e2f0a8a11e890b55.jpg resize: (1080, 1632) 1357745558 -6.290975755792282 treat image : temp/1747103248_987299_1357745458_28d09cc98e328e46af347db4fdc2671c.jpg resize: (1080, 1632) 1357745458 -1.8179129776042213 treat image : temp/1747103248_987299_1357745456_df362b65ecbb09e8c51e4a65c130bbbd.jpg resize: (1080, 1632) 1357745456 -3.064747292289505 treat image : temp/1747103248_987299_1357745454_2a41b7c1e7833ef79b2a61351dadcb90.jpg resize: (1080, 1632) 1357745454 -4.447327430565248 treat image : temp/1747103248_987299_1357745415_26412282c2a3fe0f983ac121e82903a7.jpg resize: (1080, 1632) 1357745415 -5.085474321533817 treat image : temp/1747103248_987299_1357745411_622d17109437987db42c731a70d06ed0.jpg resize: (1080, 1632) 1357745411 -2.5329332052698272 treat image : temp/1747103248_987299_1357745404_8b569b3e6e4cfeead5ac0d29d0112e37.jpg resize: (1080, 1632) 1357745404 -5.072895244345512 treat image : temp/1747103248_987299_1357745399_01636b835603fb930dc169cb09fa57e7.jpg resize: (1080, 1632) 1357745399 -0.2599119269655277 treat image : temp/1747103248_987299_1357744787_ff4f98a8daa9dd3c69b759a6b8231b85.jpg resize: (1080, 1632) 1357744787 -6.510539275394816 treat image : temp/1747103248_987299_1357744785_6bc48225cb6667d6686d62dd9d68b7a7.jpg resize: (1080, 1632) 1357744785 -6.081823752309629 treat image : temp/1747103248_987299_1357744783_fa64d31640d9a6820910a722ffa728ca.jpg resize: (1080, 1632) 1357744783 -3.655683592319927 treat image : temp/1747103248_987299_1357744781_52139281e057f283a8bd8cb2e38d119f.jpg resize: (1080, 1632) 1357744781 -6.265688070131978 treat image : temp/1747103248_987299_1357744739_185d8856c62f439f123df37b0766c509.jpg resize: (1080, 1632) 1357744739 -2.01526489206854 treat image : temp/1747103248_987299_1357744738_734e34d47e23043b5629fed8f5fa5238.jpg resize: (1080, 1632) 1357744738 -3.035300919387292 treat image : temp/1747103248_987299_1357744737_685885d0d5c7d7ebbb0f4606552f9e01.jpg resize: (1080, 1632) 1357744737 -4.838270344258153 treat image : temp/1747103248_987299_1357744736_13c4baa0cb883cb33113da3a84a54f3e.jpg resize: (1080, 1632) 1357744736 -6.455299383744973 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.015468358993530273 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.017903804779052734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.024080753326416016 save missing photos in datou_result : time spend for datou_step_exec : 16.0718674659729 time spend to save output : 0.061971426010131836 total time spend for step 1 : 16.133838891983032 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 3.68system 0:22.21elapsed 81%CPU (0avgtext+0avgdata 139452maxresident)k 2952inputs+9648outputs (31major+260872minor)pagefaults 0swaps