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 : 1861653 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 : 4132>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1861653/ 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.428654432296753 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 Thu Feb 6 02:27: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/1738805247_1861653_1335077358_9d4ee9ac5d3904f6733a640e060a8720.jpg resize: (1080, 1632) 1335077358 -5.370841203968481 treat image : temp/1738805247_1861653_1335077276_72c8a515f59e2771d71585de764a94d6.jpg resize: (1080, 1632) 1335077276 -5.949823518123717 treat image : temp/1738805247_1861653_1335077192_c524379caaa248f1a97aea2bad5bf7ed.jpg resize: (1080, 1632) 1335077192 -3.855398738584845 treat image : temp/1738805247_1861653_1335077177_a9a2fe7a0f1072670edc6daaad88d655.jpg resize: (1080, 1632) 1335077177 -0.5597155379561919 treat image : temp/1738805247_1861653_1335077174_307288469af5576d1233cdf1fc551abc.jpg resize: (1080, 1632) 1335077174 -0.849279767589836 treat image : temp/1738805247_1861653_1335077172_8ade174b396ce2b0123933accdd16ec8.jpg resize: (1080, 1632) 1335077172 -2.6126415731862314 treat image : temp/1738805247_1861653_1335077171_93a5e590f536e073c0138e4acc4128f8.jpg resize: (1080, 1632) 1335077171 -3.6867761685767584 treat image : temp/1738805247_1861653_1335077170_25061e4eee4f48876b94f0658100172a.jpg resize: (1080, 1632) 1335077170 -4.585507590060826 treat image : temp/1738805247_1861653_1335077168_a528c8e7d4a77ce8b9089a41807b6665.jpg resize: (1080, 1632) 1335077168 -3.753352233273447 treat image : temp/1738805247_1861653_1335077166_4ecb407c9b883e5cc84eada005036235.jpg resize: (1080, 1632) 1335077166 -4.427398411255755 treat image : temp/1738805247_1861653_1335077163_eaed59c019ffd9bf1552b04b06331097.jpg resize: (1080, 1632) 1335077163 -3.4624195357655796 treat image : temp/1738805247_1861653_1335077160_7efce87b40c31b974e22e06cf5cca56a.jpg resize: (1080, 1632) 1335077160 -5.3099009650936555 treat image : temp/1738805247_1861653_1335076841_c2f63754b1c79ca29ff8094e45451771.jpg resize: (1080, 1632) 1335076841 -5.23339022335001 treat image : temp/1738805247_1861653_1335076636_59f937a42f3b1b5bb720081e5e05d344.jpg resize: (1080, 1632) 1335076636 -5.065730563933968 treat image : temp/1738805247_1861653_1335076451_d8b8402d08b76d17cf265fc53db82e44.jpg resize: (1080, 1632) 1335076451 -4.554567083147117 treat image : temp/1738805247_1861653_1335076363_2c20ec79851ccf9d33100251684d1164.jpg resize: (1080, 1632) 1335076363 -1.3533462503613487 treat image : temp/1738805247_1861653_1335076362_2f5f6c918f40b019373134458aaab5e3.jpg resize: (1080, 1632) 1335076362 -3.646764199385303 treat image : temp/1738805247_1861653_1335076361_36cbe76475f53eed505eff1219b12f50.jpg resize: (1080, 1632) 1335076361 -2.8856816626196866 treat image : temp/1738805247_1861653_1335076358_9f27229bd16a024755a84f3ac3a9e8e3.jpg resize: (1080, 1632) 1335076358 -5.876358037961777 treat image : temp/1738805247_1861653_1335076355_132801fbbf747753a99c13d35d0cde33.jpg resize: (1080, 1632) 1335076355 -5.912027576780178 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.07867860794067383 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.013445854187011719 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017062902450561523 save missing photos in datou_result : time spend for datou_step_exec : 12.842727661132812 time spend to save output : 0.11423611640930176 total time spend for step 1 : 12.956963777542114 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.71user 1.52system 0:17.34elapsed 87%CPU (0avgtext+0avgdata 140900maxresident)k 32inputs+9104outputs (29major+114845minor)pagefaults 0swaps