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 : 1378700 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 : 2667>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1378700/ 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.5748815536499023 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 Sep 9 16:12: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/1757427148_1378700_1382781846_c195067359bd8252b6f143ee96e9bad0.jpg resize: (1080, 1632) 1382781846 -5.517217333465443 treat image : temp/1757427148_1378700_1382781838_3fec9bc7eceac2c3484361e8d70a243b.jpg resize: (1080, 1632) 1382781838 -1.3923178461380183 treat image : temp/1757427148_1378700_1382781767_9c4b3a727d45f07a638cea98d0eda15f.jpg resize: (1080, 1632) 1382781767 -3.5361496419579166 treat image : temp/1757427148_1378700_1382781759_78ab745c17007f609e3404edbf1bd6db.jpg resize: (1080, 1632) 1382781759 -4.228799119969066 treat image : temp/1757427148_1378700_1382781748_ca1133516a9b1ca37ae33b8f818f382f.jpg resize: (1080, 1632) 1382781748 -2.9856485289190187 treat image : temp/1757427148_1378700_1382781747_aa78404ebc593609b23a0a2ff9b0c3fa.jpg resize: (1080, 1632) 1382781747 -2.9856485289190187 treat image : temp/1757427148_1378700_1382781746_ecc0fab4d561922b528aea0532c10a58.jpg resize: (1080, 1632) 1382781746 -5.311403222356138 treat image : temp/1757427148_1378700_1382781744_8594c338e4b85ef7f6648436e1a4354c.jpg resize: (1080, 1632) 1382781744 -5.311403222356138 treat image : temp/1757427148_1378700_1382781741_676f767a4dc0dc98dad4d7eb5f45b681.jpg resize: (1080, 1632) 1382781741 -6.339199686056482 treat image : temp/1757427148_1378700_1382781739_81c694ea0a0ed541068c0d89515e7e36.jpg resize: (1080, 1632) 1382781739 -6.339199686056482 treat image : temp/1757427148_1378700_1382781736_c5a746dce741b30e9a11bc5c3803e90f.jpg resize: (1080, 1632) 1382781736 -3.7953778337539346 treat image : temp/1757427148_1378700_1382781733_6a0d8fb940f2a6dbf0dc9589f32da0c1.jpg resize: (1080, 1632) 1382781733 -3.7953778337539346 treat image : temp/1757427148_1378700_1382781724_c439760fe890030a2eae797fad21d234.jpg resize: (1080, 1632) 1382781724 -5.6861530070155135 treat image : temp/1757427148_1378700_1382781723_8b3a482d79a07fdcf73324e2f75099e3.jpg resize: (1080, 1632) 1382781723 -5.6861530070155135 treat image : temp/1757427148_1378700_1382781719_8ea18324dfeb5631e5d24e750c3ad132.jpg resize: (1080, 1632) 1382781719 -6.087280293321849 treat image : temp/1757427148_1378700_1382781718_545e74591c7f4e4ba3e188056adfc004.jpg resize: (1080, 1632) 1382781718 -6.087280293321849 treat image : temp/1757427148_1378700_1382781709_5d0a44720a68c0b82eaa71ce42e2843a.jpg resize: (1080, 1632) 1382781709 -1.7029614566158855 treat image : temp/1757427148_1378700_1382781701_de2024b3c3a155818962d31b7c316d1c.jpg resize: (1080, 1632) 1382781701 -3.3436099237537755 treat image : temp/1757427148_1378700_1382781696_222995c05fb69ee2576c9ad1289fa096.jpg resize: (1080, 1632) 1382781696 -2.3002794028792217 treat image : temp/1757427148_1378700_1382781690_1ec6fdfde2989b1bfc3056904b5d13e7.jpg resize: (1080, 1632) 1382781690 -4.668438145715146 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.026813983917236328 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.025382518768310547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.031190156936645508 save missing photos in datou_result : time spend for datou_step_exec : 15.097341537475586 time spend to save output : 0.0945594310760498 total time spend for step 1 : 15.191900968551636 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 3.09system 0:22.00elapsed 79%CPU (0avgtext+0avgdata 139476maxresident)k 0inputs+9920outputs (0major+254988minor)pagefaults 0swaps