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 : 3206520 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 : 2678>100 please execute split_portfolio.py -i 19446291 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2468614'] with mtr_portfolio_ids : ['19446291'] and first list_photo_ids : [] new path : /proc/3206520/ 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 : 1.7145986557006836 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 Sat Feb 1 04:42:29 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/1738381347_3206520_1333592033_1f42375fc78c2779936f0ede3e9ec246.jpg resize: (1080, 1632) 1333592033 2.151482329968799 treat image : temp/1738381347_3206520_1333591853_6cf9b012e12190e835fa4fd20e346657.jpg resize: (1080, 1632) 1333591853 2.46289751802752 treat image : temp/1738381347_3206520_1333591763_ee9deb95946fbfe22f4df2073aa54332.jpg resize: (1080, 1632) 1333591763 3.7499631127433464 treat image : temp/1738381347_3206520_1333591626_7505f7b71af3b2c5d84d348f58e9048e.jpg resize: (1080, 1632) 1333591626 3.5699155676036765 treat image : temp/1738381347_3206520_1333591459_7e8d77ce0403fea105e0620e37c93efe.jpg resize: (1080, 1632) 1333591459 2.255889555006803 treat image : temp/1738381347_3206520_1333591404_8a996cb86838f6ec8d0a6935aa79f28f.jpg resize: (1080, 1632) 1333591404 2.884961877472615 treat image : temp/1738381347_3206520_1333590954_b18dcde9556cb974b3fb36bc1d9cfb56.jpg resize: (1080, 1632) 1333590954 3.3650584797090346 treat image : temp/1738381347_3206520_1333590944_5a577d0bf2f05e5b15391920aee2c003.jpg resize: (1080, 1632) 1333590944 1.432078745179418 treat image : temp/1738381347_3206520_1333590888_8993181612746321c66e9e07acf03a77.jpg resize: (1080, 1632) 1333590888 1.5392628304039369 treat image : temp/1738381347_3206520_1333590818_f60d747f275b30bf33b858d38c35c5cf.jpg resize: (1080, 1632) 1333590818 0.5975647782011345 treat image : temp/1738381347_3206520_1333590758_ab0cfabc61e1d0322d5f8a4aef7445ce.jpg resize: (1080, 1632) 1333590758 1.009677488432602 treat image : temp/1738381347_3206520_1333590694_cd038c1f5a4e9ee4f0a2c68c1e2f407e.jpg resize: (1080, 1632) 1333590694 0.5782224937425211 treat image : temp/1738381347_3206520_1333577872_e7d7bb18c677abb6522f91ba1701a320.jpg resize: (1080, 1632) 1333577872 5.814529198529856 treat image : temp/1738381347_3206520_1333577871_9f9d9d9764594e047c9bc38e93a14f91.jpg resize: (1080, 1632) 1333577871 0.4736688073016286 treat image : temp/1738381347_3206520_1333577493_3dc16f061ff810c965db143f163283db.jpg resize: (1080, 1632) 1333577493 -0.21697969753568042 treat image : temp/1738381347_3206520_1333577491_ae0587685314fac114453e1639f0341b.jpg resize: (1080, 1632) 1333577491 2.822801291399297 treat image : temp/1738381347_3206520_1333577489_b61b2e586faa4f24a9a88a70008a4030.jpg resize: (1080, 1632) 1333577489 7.678821043801108 treat image : temp/1738381347_3206520_1333577487_9e4347853e114e0cd7ad319b1a98dd3b.jpg resize: (1080, 1632) 1333577487 5.60970178190026 treat image : temp/1738381347_3206520_1333577484_b6ce0b7ef6b8a7fb7a3d319f2bbf4c18.jpg resize: (1080, 1632) 1333577484 4.989497021853389 treat image : temp/1738381347_3206520_1333577482_420d3a4e7fabb0730e1960c2f9190856.jpg resize: (1080, 1632) 1333577482 7.638739145935114 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.013538360595703125 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.02393507957458496 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021907567977905273 save missing photos in datou_result : time spend for datou_step_exec : 17.179109573364258 time spend to save output : 0.06415176391601562 total time spend for step 1 : 17.243261337280273 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 4.88system 0:21.30elapsed 91%CPU (0avgtext+0avgdata 139388maxresident)k 16inputs+3136outputs (1major+260097minor)pagefaults 0swaps