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 : 4075355 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 : 1250>100 please execute split_portfolio.py -i 26704195 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3687124'] with mtr_portfolio_ids : ['26704195'] and first list_photo_ids : [] new path : /proc/4075355/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.2560417652130127 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 Sep 10 23:02:30 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/1757538147_4075355_1383153753_93309ea0257fb387b628b938a2417b84.jpg resize: (1080, 1632) 1383153753 -0.9674658566143338 treat image : temp/1757538147_4075355_1383153720_fe48c20ce742a7d6d18f5ab47f527620.jpg resize: (1080, 1632) 1383153720 -2.6523095624625235 treat image : temp/1757538147_4075355_1383153678_0c9560c93e9d4604eda573add124a367.jpg resize: (1080, 1632) 1383153678 -1.4638331084446983 treat image : temp/1757538147_4075355_1383153646_e891adcc77f8d62933c7be9137c15b8a.jpg resize: (1080, 1632) 1383153646 -6.0880418354341845 treat image : temp/1757538147_4075355_1383153374_11177ff91b690d1f35096fd60348913d.jpg resize: (1080, 1632) 1383153374 -5.752257109998052 treat image : temp/1757538147_4075355_1383153344_babc6fd88f195a54ac8251050f98e94f.jpg resize: (1080, 1632) 1383153344 -5.81243867960551 treat image : temp/1757538147_4075355_1383153297_bb873e633894fe2e5751faa7811a569f.jpg resize: (1080, 1632) 1383153297 -5.145266802810561 treat image : temp/1757538147_4075355_1383153247_00ef4900a161ab01ef4b899f472e9ea8.jpg resize: (1080, 1632) 1383153247 -3.905477733809431 treat image : temp/1757538147_4075355_1383153073_690919d4fee191bada019d4d934b3924.jpg resize: (1080, 1632) 1383153073 -5.6720748948869675 treat image : temp/1757538147_4075355_1383153012_e609559ce844b2d775a9e762c1dfccf3.jpg resize: (1080, 1632) 1383153012 -5.250582242452095 treat image : temp/1757538147_4075355_1383152946_4a9bc475b5f1e28ee6d800e1570656cd.jpg resize: (1080, 1632) 1383152946 -5.187417151337036 treat image : temp/1757538147_4075355_1383152849_89029feae50ccb578aac87343ea302df.jpg resize: (1080, 1632) 1383152849 -6.642316335170634 treat image : temp/1757538147_4075355_1383152818_82cf959315a0a6fccee2f41ec8f1bf17.jpg resize: (1080, 1632) 1383152818 -5.226966133668359 treat image : temp/1757538147_4075355_1383152768_2f4fde775daf67a74d2d64f5266a9b4d.jpg resize: (1080, 1632) 1383152768 -6.534942087267591 treat image : temp/1757538147_4075355_1383152707_c23d1a23d89ac30f7553e29311b12d49.jpg resize: (1080, 1632) 1383152707 -5.680978834431868 treat image : temp/1757538147_4075355_1383152647_96cc7885c6ff1cf22a96b43d0a42c20d.jpg resize: (1080, 1632) 1383152647 -5.762007750088869 treat image : temp/1757538147_4075355_1383152582_5bcc1284721f30a9e393aeebd65675b8.jpg resize: (1080, 1632) 1383152582 -5.650084890061954 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 : 17 time used for this insertion : 0.01173543930053711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.01202082633972168 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.018051624298095703 save missing photos in datou_result : time spend for datou_step_exec : 12.57539439201355 time spend to save output : 0.04606461524963379 total time spend for step 1 : 12.621459007263184 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.08user 2.90system 0:17.61elapsed 85%CPU (0avgtext+0avgdata 138936maxresident)k 3168inputs+8896outputs (37major+230523minor)pagefaults 0swaps