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 : 2942897 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 : 985>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2942897/ 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.0705013275146484 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 Tue Feb 18 09: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/1739868747_2942897_1338305027_20e171d5f391ddd3151cdaa014fcc2c9.jpg resize: (1080, 1632) 1338305027 -3.809919358942709 treat image : temp/1739868747_2942897_1338297831_09d406384e3437787af080af98f79d2f.jpg resize: (1080, 1632) 1338297831 -3.1136349706368125 treat image : temp/1739868747_2942897_1338297822_bb89163b204137add3f12f9d02dc275e.jpg resize: (1080, 1632) 1338297822 -6.621692843911814 treat image : temp/1739868747_2942897_1338297818_a21ed092c7d96fa49913725eb5bb904e.jpg resize: (1080, 1632) 1338297818 -5.898848111141042 treat image : temp/1739868747_2942897_1338297815_32b633049aa9c532d8c15b20eff3ff49.jpg resize: (1080, 1632) 1338297815 -5.9155578350314695 treat image : temp/1739868747_2942897_1338297813_8b55b2f7ab9e56ca7b6974032bec3ad0.jpg resize: (1080, 1632) 1338297813 -6.033287500954105 treat image : temp/1739868747_2942897_1338297811_092b7ce5b81e566ff0b692e11c98f8c1.jpg resize: (1080, 1632) 1338297811 -4.642894949379174 treat image : temp/1739868747_2942897_1338297809_ebbf141ce6fb5854e1141c63355d9947.jpg resize: (1080, 1632) 1338297809 -4.6936709892896396 treat image : temp/1739868747_2942897_1338297798_8919c09b6e06c5338af80043a2038b0c.jpg resize: (1080, 1632) 1338297798 -2.3757657591292674 treat image : temp/1739868747_2942897_1338297792_5fa0112e61dba285ea24544b9cfa1112.jpg resize: (1080, 1632) 1338297792 -5.152888526514578 treat image : temp/1739868747_2942897_1338297789_4fbd8e77c97501b8da31ff6f4a9648e5.jpg resize: (1080, 1632) 1338297789 -6.808396155192435 treat image : temp/1739868747_2942897_1338297782_a6aa6927a40b8e18adb201d52d36111a.jpg resize: (1080, 1632) 1338297782 -6.831411935597457 treat image : temp/1739868747_2942897_1338297770_7d888fd61963c84bbc5cff627e0b9e79.jpg resize: (1080, 1632) 1338297770 -5.14660233803664 treat image : temp/1739868747_2942897_1338297768_e55d28a79540166ac908aeba3f15f6cb.jpg resize: (1080, 1632) 1338297768 -6.495212648476132 treat image : temp/1739868747_2942897_1338297766_11d2106320118584d4907ecf67fa93ab.jpg resize: (1080, 1632) 1338297766 -6.412344020795903 treat image : temp/1739868747_2942897_1338297764_a1cb62198c3c04e951b32507964fb25f.jpg resize: (1080, 1632) 1338297764 -6.243392237765863 treat image : temp/1739868747_2942897_1338297762_bba0b726105fa30f21a5e0d2b6ab2d5b.jpg resize: (1080, 1632) 1338297762 -3.5462265812177955 treat image : temp/1739868747_2942897_1338297750_0c5483bf10e05f214aae2161a7c4e0b3.jpg resize: (1080, 1632) 1338297750 -6.536333683619617 treat image : temp/1739868747_2942897_1338297745_cf79c8ef1f6d13b8aefc161353162606.jpg resize: (1080, 1632) 1338297745 -6.636706011108008 treat image : temp/1739868747_2942897_1338297744_2c22e0ed3bb491008b11d04fd58e9ea4.jpg resize: (1080, 1632) 1338297744 -5.024272765708726 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.01276254653930664 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.011974573135375977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02095341682434082 save missing photos in datou_result : time spend for datou_step_exec : 18.063031435012817 time spend to save output : 0.05063319206237793 total time spend for step 1 : 18.113664627075195 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.88user 4.65system 0:24.65elapsed 83%CPU (0avgtext+0avgdata 139684maxresident)k 3768inputs+11848outputs (42major+256434minor)pagefaults 0swaps