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 : 3896791 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 : 4086>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3896791/ 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.3058385848999023 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 Wed Jul 9 20:02: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/1752084145_3896791_1371429868_528ed3cc7f5dbc77ce20a4ad6326561c.jpg resize: (1080, 1632) 1371429868 -5.534545731265945 treat image : temp/1752084145_3896791_1371429866_e20bc565836f621edfdff978549cbf2f.jpg resize: (1080, 1632) 1371429866 -5.537696411752449 treat image : temp/1752084145_3896791_1371429864_ef55e1b473f1b3537b5fbb5196b72916.jpg resize: (1080, 1632) 1371429864 -5.532152064631436 treat image : temp/1752084145_3896791_1371429862_09f57430acf147e2a1c843df4d84ad87.jpg resize: (1080, 1632) 1371429862 -5.537156240596022 treat image : temp/1752084145_3896791_1371429860_611a713f9dbe5da02aacd3796109e670.jpg resize: (1080, 1632) 1371429860 -5.541138510962439 treat image : temp/1752084145_3896791_1371429858_ff51eac60579e8273a26af85ff789990.jpg resize: (1080, 1632) 1371429858 -5.542094155255888 treat image : temp/1752084145_3896791_1371429848_8929dd1b154be58cca243e5e917af31e.jpg resize: (1080, 1632) 1371429848 -5.546641150358917 treat image : temp/1752084145_3896791_1371429844_0c9fc1dce18cf3c96dce82879729d7f1.jpg resize: (1080, 1632) 1371429844 -2.346559443122213 treat image : temp/1752084145_3896791_1371429842_b0d8d5b5031b86db04586ea9ca4a31d9.jpg resize: (1080, 1632) 1371429842 -3.792871414566042 treat image : temp/1752084145_3896791_1371429840_e0aa87eefc221c590a47634f2b67e82c.jpg resize: (1080, 1632) 1371429840 -4.67756479417102 treat image : temp/1752084145_3896791_1371429838_508279e688860e7b3b6d5d4b11b78123.jpg resize: (1080, 1632) 1371429838 -3.335002841927416 treat image : temp/1752084145_3896791_1371429837_7bcbf2d92bfea08eb8396693702e5ccb.jpg resize: (1080, 1632) 1371429837 -5.906184164004868 treat image : temp/1752084145_3896791_1371429832_68eda1ad22e39a6c454de32b4226cb74.jpg resize: (1080, 1632) 1371429832 -5.546063617557129 treat image : temp/1752084145_3896791_1371429831_6baabbc7bb98a762c2ea368345dc7dd5.jpg resize: (1080, 1632) 1371429831 -5.548050687053026 treat image : temp/1752084145_3896791_1371429829_4903a8d86a41deb66a88a9a80c975084.jpg resize: (1080, 1632) 1371429829 -5.538417522553398 treat image : temp/1752084145_3896791_1371429827_fd81644eb5288a34b85ab21dcd514ff8.jpg resize: (1080, 1632) 1371429827 -5.530433515482231 treat image : temp/1752084145_3896791_1371429825_e9cabc97a02eb7f284d6eebac1d6aa07.jpg resize: (1080, 1632) 1371429825 -5.538661333935646 treat image : temp/1752084145_3896791_1371429823_dc5c42e62879b76fa2cc4350ddc09e8b.jpg resize: (1080, 1632) 1371429823 -5.5355211172183125 treat image : temp/1752084145_3896791_1371429819_8057dc6931ae5d40291f3c41c5b20c4b.jpg resize: (1080, 1632) 1371429819 -5.008806170104833 treat image : temp/1752084145_3896791_1371429817_33ce0bda70973a0a1cafc6c31fa672d4.jpg resize: (1080, 1632) 1371429817 -5.426936331983173 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.01257777214050293 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.013039350509643555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014970064163208008 save missing photos in datou_result : time spend for datou_step_exec : 14.613968849182129 time spend to save output : 0.04509735107421875 total time spend for step 1 : 14.659066200256348 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 2.33system 0:18.41elapsed 91%CPU (0avgtext+0avgdata 142428maxresident)k 0inputs+10208outputs (18major+139784minor)pagefaults 0swaps