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 : 3133930 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3133930/ 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 : 3.258760452270508 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 Jul 18 08:42:32 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/1752820949_3133930_1372323701_3553a21b4d2dc06f36c5d18a3ec15ae5.jpg resize: (1080, 1632) 1372323701 -3.7106310991730322 treat image : temp/1752820949_3133930_1372323697_bf00a9ab528036eaf55360b30f72ff06.jpg resize: (1080, 1632) 1372323697 -3.8066405992810757 treat image : temp/1752820949_3133930_1372323693_53334df6b7abc849fbfe14e5c40ed57d.jpg resize: (1080, 1632) 1372323693 -4.839380617545992 treat image : temp/1752820949_3133930_1372323692_5be38fa36d35a98fd5dc0e803b786092.jpg resize: (1080, 1632) 1372323692 -5.007740713928888 treat image : temp/1752820949_3133930_1372323690_0f8c8ba228e7bb5240dcb33579333582.jpg resize: (1080, 1632) 1372323690 -5.314178976311893 treat image : temp/1752820949_3133930_1372323687_b4e90d8eaf32d221d228ae6b6c563b74.jpg resize: (1080, 1632) 1372323687 -3.996548351240825 treat image : temp/1752820949_3133930_1372323666_22bd28bfc951dcb3d5220436b19ddd18.jpg resize: (1080, 1632) 1372323666 -5.523349209568007 treat image : temp/1752820949_3133930_1372323663_2d5bcb6a5ea2ff137bb708cef962a117.jpg resize: (1080, 1632) 1372323663 -1.8729318664720842 treat image : temp/1752820949_3133930_1372323662_2c5d837489946dce66aa312154c39a9b.jpg resize: (1080, 1632) 1372323662 2.595346450268387 treat image : temp/1752820949_3133930_1372323660_fd4906204946b95b3ba738fb8eb7d692.jpg resize: (1080, 1632) 1372323660 -2.4366181735581742 treat image : temp/1752820949_3133930_1372323658_ccda535f0c5a4034db021aa91b36f87a.jpg resize: (1080, 1632) 1372323658 -2.6056192747853753 treat image : temp/1752820949_3133930_1372323655_a300bd33f60cbdab140a60509933d738.jpg resize: (1080, 1632) 1372323655 -2.2692727400517954 treat image : temp/1752820949_3133930_1372323626_500df679ab50314e962a32b19c1fe8df.jpg resize: (1080, 1632) 1372323626 -5.4770627614082645 treat image : temp/1752820949_3133930_1372323624_4bd096f517d6cb92846cc6e819fd772b.jpg resize: (1080, 1632) 1372323624 -5.180884170684498 treat image : temp/1752820949_3133930_1372323622_00f6a27d48b160cf4b1a24af9e583e76.jpg resize: (1080, 1632) 1372323622 -5.210945892902505 treat image : temp/1752820949_3133930_1372323620_84569ce672ba94f0034aaf17b12c8e2a.jpg resize: (1080, 1632) 1372323620 -3.189798877410984 treat image : temp/1752820949_3133930_1372323619_9e8b9c93dc49688088b90b8b5621bc31.jpg resize: (1080, 1632) 1372323619 -5.7527788759829 treat image : temp/1752820949_3133930_1372323616_a9b107b0c85eeed7870da378b48451c3.jpg resize: (1080, 1632) 1372323616 -5.679429956945585 treat image : temp/1752820949_3133930_1372323595_8dc20fee06fd06c113f114f5a4a68708.jpg resize: (1080, 1632) 1372323595 -2.4700429885148756 treat image : temp/1752820949_3133930_1372323593_77d87a20769963df6138923c1b41b97f.jpg resize: (1080, 1632) 1372323593 -1.7907461544260084 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.014940500259399414 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.059828996658325195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014941930770874023 save missing photos in datou_result : time spend for datou_step_exec : 15.066656827926636 time spend to save output : 0.09455323219299316 total time spend for step 1 : 15.161210060119629 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.01user 3.65system 0:21.98elapsed 80%CPU (0avgtext+0avgdata 137808maxresident)k 8inputs+8504outputs (4major+256926minor)pagefaults 0swaps