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 : 1392398 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 : 554>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1392398/ 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.4126596450805664 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 May 21 06:52: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/1747803147_1392398_1359968024_a5f7b641ca4b65cffbb08e68303f6426.jpg resize: (1080, 1632) 1359968024 -3.5272607607417497 treat image : temp/1747803147_1392398_1359968022_1fc1bbab5c28d2f85ab423f864f255a3.jpg resize: (1080, 1632) 1359968022 -5.387147385733861 treat image : temp/1747803147_1392398_1359968020_4dda5d402a0cefc61658f3f1503063d8.jpg resize: (1080, 1632) 1359968020 -2.5931289913143893 treat image : temp/1747803147_1392398_1359967999_c29bb3fe94c5a02ecba2ea38008f2b4a.jpg resize: (1080, 1632) 1359967999 -4.150457059854431 treat image : temp/1747803147_1392398_1359967997_c30ee6744b0c52785ea7d9391560ce1d.jpg resize: (1080, 1632) 1359967997 -6.342588993071988 treat image : temp/1747803147_1392398_1359967994_9078ad74f862986372e10a8aa0389392.jpg resize: (1080, 1632) 1359967994 -5.054233804085481 treat image : temp/1747803147_1392398_1359967991_2fcaf2bd54919f8f5bcbed64fc565a2e.jpg resize: (1080, 1632) 1359967991 -5.515760568432849 treat image : temp/1747803147_1392398_1359967988_666a716ced16a94b2d933e7fc8e51f64.jpg resize: (1080, 1632) 1359967988 -5.576788091047214 treat image : temp/1747803147_1392398_1359967980_914cf1ac96bd180f7688ee8524042c3c.jpg resize: (1080, 1632) 1359967980 -2.8116611847801054 treat image : temp/1747803147_1392398_1359967954_a93a2a4ee6d014850e32835971383ebb.jpg resize: (1080, 1632) 1359967954 -5.771413116708395 treat image : temp/1747803147_1392398_1359967953_4934d458b0b97e3223843ad16ec496fb.jpg resize: (1080, 1632) 1359967953 -3.59320206890452 treat image : temp/1747803147_1392398_1359967951_693d0f2ec0461053ac631b32b0ac3009.jpg resize: (1080, 1632) 1359967951 -1.891855285790443 treat image : temp/1747803147_1392398_1359967930_ea5f3fbefec8d492d0d541a8bc6ece50.jpg resize: (1080, 1632) 1359967930 -4.881212609065006 treat image : temp/1747803147_1392398_1359967928_501502cf504c0113e9d42924ed24bf4f.jpg resize: (1080, 1632) 1359967928 -5.350410475397131 treat image : temp/1747803147_1392398_1359967925_23ceb3689323a668d14012356b336428.jpg resize: (1080, 1632) 1359967925 -5.918401391280222 treat image : temp/1747803147_1392398_1359967922_b6a94a48d77c88f5846e3a142c740a22.jpg resize: (1080, 1632) 1359967922 -6.434537488517561 treat image : temp/1747803147_1392398_1359967919_6058a167149227fc6ae89a6a56138f40.jpg resize: (1080, 1632) 1359967919 -5.974470992206339 treat image : temp/1747803147_1392398_1359967902_496b9b2d77727a1f0cc01adce451c163.jpg resize: (1080, 1632) 1359967902 -1.2853907794836328 treat image : temp/1747803147_1392398_1359967899_dc6a8d15a91006f6add978cc39176e0d.jpg resize: (1080, 1632) 1359967899 -4.581098281584824 treat image : temp/1747803147_1392398_1359967897_0a66d12c5327a2ae8c263afecfa7a17e.jpg resize: (1080, 1632) 1359967897 -5.5822050670286885 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.014498710632324219 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.014842510223388672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01994490623474121 save missing photos in datou_result : time spend for datou_step_exec : 17.201642751693726 time spend to save output : 0.05439352989196777 total time spend for step 1 : 17.256036281585693 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 5.00system 0:22.35elapsed 87%CPU (0avgtext+0avgdata 137600maxresident)k 128inputs+10112outputs (8major+258513minor)pagefaults 0swaps