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 : 583285 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 : 5283>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/583285/ 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.713345766067505 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 17 15:47: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/1752760048_583285_1372442896_fcb52286f10bbc736213e940dc0a2916.jpg resize: (1080, 1632) 1372442896 -2.171121552444491 treat image : temp/1752760048_583285_1372442860_0c9167fd8622fdbb67b5bc755dcb9cf7.jpg resize: (1080, 1632) 1372442860 -3.1821260978270804 treat image : temp/1752760048_583285_1372442836_f288fc0b445a485b9280d01f36da5ec2.jpg resize: (1080, 1632) 1372442836 -5.134056995597342 treat image : temp/1752760048_583285_1372442815_2ffc76431701774bd7825cd8b93ba6bb.jpg resize: (1080, 1632) 1372442815 -5.766193437172822 treat image : temp/1752760048_583285_1372442789_abd83dd1d78efa554650adde7566418d.jpg resize: (1080, 1632) 1372442789 -3.6199992638335954 treat image : temp/1752760048_583285_1372442755_f481ec82205d1994407e5c515032e710.jpg resize: (1080, 1632) 1372442755 -5.337410134088605 treat image : temp/1752760048_583285_1372442487_247fb264e4910e992595ada3cf3338ca.jpg resize: (1080, 1632) 1372442487 -5.662394440663986 treat image : temp/1752760048_583285_1372442468_40d22f7c500b969b024c6c92538a3266.jpg resize: (1080, 1632) 1372442468 -4.303332283507824 treat image : temp/1752760048_583285_1372442447_37100e0fb8a379ab6907c3817de297cc.jpg resize: (1080, 1632) 1372442447 -5.557397312707058 treat image : temp/1752760048_583285_1372442424_f76ae45012040bdf22767e3d355e3882.jpg resize: (1080, 1632) 1372442424 -4.138041572131828 treat image : temp/1752760048_583285_1372442386_7be4e8a1f21bfdc5a6f8a8b56eb4b062.jpg resize: (1080, 1632) 1372442386 -1.7233252759531628 treat image : temp/1752760048_583285_1372442343_9323667e5d90b26b77cfba8d8a344f24.jpg resize: (1080, 1632) 1372442343 -2.564592252303004 treat image : temp/1752760048_583285_1372339722_67333e64a281d910222043cf8898e8bd.jpg resize: (1080, 1632) 1372339722 -5.043276085442065 treat image : temp/1752760048_583285_1372339719_fcff63c15425363897700d4c4a08e4e2.jpg resize: (1080, 1632) 1372339719 -5.045030488963711 treat image : temp/1752760048_583285_1372339718_6c297ba40c24110e5c9185c0c91db0a5.jpg resize: (1080, 1632) 1372339718 -5.0727333452964425 treat image : temp/1752760048_583285_1372339716_c7a4e6eb60e3a5a925c403053c6fce8b.jpg resize: (1080, 1632) 1372339716 -5.187112028488116 treat image : temp/1752760048_583285_1372339697_8fe44636625563ee897158c9482422eb.jpg resize: (1080, 1632) 1372339697 -3.562373811236526 treat image : temp/1752760048_583285_1372339694_a6289a783748cb68ef9db4d0a6a7918f.jpg resize: (1080, 1632) 1372339694 -3.535922709002332 treat image : temp/1752760048_583285_1372339692_0240aceb8bb78350334bcf6aebdcf37c.jpg resize: (1080, 1632) 1372339692 -3.5392762182307367 treat image : temp/1752760048_583285_1372339689_a0cb36616cd4e65217d8d8f0b863f935.jpg resize: (1080, 1632) 1372339689 -3.5360162471993637 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.03751993179321289 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.03435969352722168 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03780007362365723 save missing photos in datou_result : time spend for datou_step_exec : 15.103102922439575 time spend to save output : 0.12445449829101562 total time spend for step 1 : 15.22755742073059 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 2.96system 0:22.13elapsed 79%CPU (0avgtext+0avgdata 137836maxresident)k 1720inputs+8832outputs (16major+260071minor)pagefaults 0swaps