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 : 3477801 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 : 1533>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/3477801/ 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.1127641201019287 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 Feb 7 12:07: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/1738926447_3477801_1335496312_8eefad59cbc4eeb9d99837203d1c946e.jpg resize: (1080, 1632) 1335496312 -4.269777420143147 treat image : temp/1738926447_3477801_1335496308_76dfe55493b21d21159ef8e99bd9e71a.jpg resize: (1080, 1632) 1335496308 -6.26009558022223 treat image : temp/1738926447_3477801_1335496304_df9a0f4a7b00bf27633513b25b587efb.jpg resize: (1080, 1632) 1335496304 -5.921719828876177 treat image : temp/1738926447_3477801_1335496300_a3295a3a21b6c7989f1a678236f47861.jpg resize: (1080, 1632) 1335496300 -5.893739558705908 treat image : temp/1738926447_3477801_1335496276_239be1049952795c7b5c0e65c9e7f574.jpg resize: (1080, 1632) 1335496276 -5.714292681627883 treat image : temp/1738926447_3477801_1335496271_0e62af27bd525fbc6686acb0cfb0636f.jpg resize: (1080, 1632) 1335496271 -4.834551700995738 treat image : temp/1738926447_3477801_1335496266_69d8f0312230adbd47a3ee05280ea289.jpg resize: (1080, 1632) 1335496266 -6.113649689528064 treat image : temp/1738926447_3477801_1335496263_428f3e4050aab5718da20ee0fa0f3bb9.jpg resize: (1080, 1632) 1335496263 -6.111486980819294 treat image : temp/1738926447_3477801_1335496234_e83d1f4c043ec10eb9d6a198e9703d06.jpg resize: (1080, 1632) 1335496234 -1.772830460833333 treat image : temp/1738926447_3477801_1335496229_6414b89a9eee8e0d1bb15292763ce116.jpg resize: (1080, 1632) 1335496229 -2.3538261000415996 treat image : temp/1738926447_3477801_1335496226_9b01a61d7b182ac11f6d7db43c04ce90.jpg resize: (1080, 1632) 1335496226 -3.797193938423715 treat image : temp/1738926447_3477801_1335496223_bcaee5cd64965871ee84b9470755abf3.jpg resize: (1080, 1632) 1335496223 -5.544594209139501 treat image : temp/1738926447_3477801_1335496219_893c159154b160dccfd0859ceb0301b9.jpg resize: (1080, 1632) 1335496219 -6.2603095762051115 treat image : temp/1738926447_3477801_1335496186_0680c52a3a409592e9ee774cc255d7f6.jpg resize: (1080, 1632) 1335496186 -5.6944055912233456 treat image : temp/1738926447_3477801_1335496181_051c30d2c875db502e112965420fbdda.jpg resize: (1080, 1632) 1335496181 -5.962649103921845 treat image : temp/1738926447_3477801_1335496154_d15390423621a20f0f3ae62f272862d7.jpg resize: (1080, 1632) 1335496154 -4.666285387692938 treat image : temp/1738926447_3477801_1335496150_05897c9d41230374722e490582249388.jpg resize: (1080, 1632) 1335496150 -6.098132296316362 treat image : temp/1738926447_3477801_1335496146_f5d7bc80fb71ea20693939561551a8d3.jpg resize: (1080, 1632) 1335496146 -5.789427321716698 treat image : temp/1738926447_3477801_1335496138_22b6120db3c5e683dc0d74c3d623ff3b.jpg resize: (1080, 1632) 1335496138 -4.919712870666418 treat image : temp/1738926447_3477801_1335496125_30885e0318eb2ff85b6e0f5d40887cb4.jpg resize: (1080, 1632) 1335496125 -5.517924690937782 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.02168416976928711 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.01389765739440918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021180391311645508 save missing photos in datou_result : time spend for datou_step_exec : 23.433881998062134 time spend to save output : 0.10744166374206543 total time spend for step 1 : 23.5413236618042 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.21user 11.11system 0:30.24elapsed 87%CPU (0avgtext+0avgdata 139920maxresident)k 124288inputs+10640outputs (11148major+255564minor)pagefaults 0swaps