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 : 2082827 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 : 905>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2082827/ 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.3986966609954834 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 Fri May 16 04:17:28 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/1747361845_2082827_1358773386_d2b4dbf04ac23d469283d4ebebb3cfaa.jpg resize: (1080, 1632) 1358773386 -3.5123023941934166 treat image : temp/1747361845_2082827_1358766846_494316b276bed3707de9b02c4ea76fff.jpg resize: (1080, 1632) 1358766846 -5.417966884054524 treat image : temp/1747361845_2082827_1358766844_1754391402091f4b51d169798dacbf63.jpg resize: (1080, 1632) 1358766844 -5.499830306285414 treat image : temp/1747361845_2082827_1358766840_5d4cc4d996fd0556771870adb413d53a.jpg resize: (1080, 1632) 1358766840 -6.371922822472179 treat image : temp/1747361845_2082827_1358759958_68b7ebd630d47dad6cac4143e68f112e.jpg resize: (1080, 1632) 1358759958 -5.192864882871616 treat image : temp/1747361845_2082827_1358759930_8c80c83cb1c58bdbb8a48dbfb7087eaa.jpg resize: (1080, 1632) 1358759930 -1.8462367066073386 treat image : temp/1747361845_2082827_1358759663_61c9ddaf62e95afdb3e01b0c62fe6b23.jpg resize: (1080, 1632) 1358759663 -5.443907806918421 treat image : temp/1747361845_2082827_1358759615_ea6a47e3d912b8860ee5c9ddb660f04f.jpg resize: (1080, 1632) 1358759615 -4.493216311432869 treat image : temp/1747361845_2082827_1358759565_5d60172c3d9f4554bd6aaf00fd0e0989.jpg resize: (1080, 1632) 1358759565 -1.203346362516438 treat image : temp/1747361845_2082827_1358759511_ac87ef1e569fdb3f54c0b93971d04843.jpg resize: (1080, 1632) 1358759511 -4.486842195956451 treat image : temp/1747361845_2082827_1358759455_0f72daa6a7b432806bf0ba95e883074c.jpg resize: (1080, 1632) 1358759455 -5.330286199960581 treat image : temp/1747361845_2082827_1358759347_645d6ed84cca95f8e965ee9a5cc77ae5.jpg resize: (1080, 1632) 1358759347 -5.081767223163556 treat image : temp/1747361845_2082827_1358759321_6f125de59b2431c1c27794be18acc902.jpg resize: (1080, 1632) 1358759321 -4.974783010056222 treat image : temp/1747361845_2082827_1358759295_0c07d49d67b3c3e219f0c27f42667e32.jpg resize: (1080, 1632) 1358759295 -5.090165345878779 treat image : temp/1747361845_2082827_1358759268_40d7ed3be86e8d59b35f6065b1508d8d.jpg resize: (1080, 1632) 1358759268 -5.065953662195783 treat image : temp/1747361845_2082827_1358759256_02ddfd2b5d760c8fa1d90377d21b0b18.jpg resize: (1080, 1632) 1358759256 -5.3245188341512435 treat image : temp/1747361845_2082827_1358759105_c1bf5cb3a8c360809c8440f45b09d443.jpg resize: (1080, 1632) 1358759105 -1.7729538134447536 treat image : temp/1747361845_2082827_1358759076_4c81373c24be44f8eeba0754b300a372.jpg resize: (1080, 1632) 1358759076 -3.4566778750336145 treat image : temp/1747361845_2082827_1358759074_823c5b40658f7df408e2d35311e3b2a4.jpg resize: (1080, 1632) 1358759074 -2.790231478466108 treat image : temp/1747361845_2082827_1358759072_db5f9667a56c61ef66eb2a006e089a82.jpg resize: (1080, 1632) 1358759072 -2.0019632384313173 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.01712799072265625 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.24977779388427734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2818117141723633 save missing photos in datou_result : time spend for datou_step_exec : 15.775597333908081 time spend to save output : 0.5536599159240723 total time spend for step 1 : 16.329257249832153 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.78user 3.66system 0:20.05elapsed 92%CPU (0avgtext+0avgdata 139632maxresident)k 560inputs+8784outputs (5major+255825minor)pagefaults 0swaps