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 : 3388233 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 : 1986>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3388233/ 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.1008570194244385 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 Mar 22 03: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/1742611948_3388233_1346328306_4e22b496a9e019a949f7be74465cf69e.jpg resize: (1080, 1632) 1346328306 -6.320538719426538 treat image : temp/1742611948_3388233_1346328304_057f3d9afbe5abc7575896e93503f425.jpg resize: (1080, 1632) 1346328304 -6.398980910144598 treat image : temp/1742611948_3388233_1346328302_6c2a82713123e7e2c4e4a8e8c25fc8b3.jpg resize: (1080, 1632) 1346328302 -6.5133106674433145 treat image : temp/1742611948_3388233_1346328299_edcb428a39e440488b3e56ce520044ba.jpg resize: (1080, 1632) 1346328299 -2.37275148331641 treat image : temp/1742611948_3388233_1346328294_c391801ea269e8f1f868aab83f53bbd8.jpg resize: (1080, 1632) 1346328294 -4.672063286368695 treat image : temp/1742611948_3388233_1346328289_e3762faa5ad0113c17f21fdb5e3de8dd.jpg resize: (1080, 1632) 1346328289 -6.626782962776124 treat image : temp/1742611948_3388233_1346328271_8c49d762a5d621fe1679d4c2b0781daf.jpg resize: (1080, 1632) 1346328271 -4.92341589901539 treat image : temp/1742611948_3388233_1346328269_ee95c119bdbe6ad851ea30386260cffb.jpg resize: (1080, 1632) 1346328269 -6.375765021750983 treat image : temp/1742611948_3388233_1346328266_864930b9e36878f542c2408b9418a779.jpg resize: (1080, 1632) 1346328266 -6.388221329344319 treat image : temp/1742611948_3388233_1346328260_25aabee5353844d515cef312e2b02618.jpg resize: (1080, 1632) 1346328260 -6.450142373474728 treat image : temp/1742611948_3388233_1346328235_93d716e16ce98cd7bbaac4095c0eda4e.jpg resize: (1080, 1632) 1346328235 -6.437399398887631 treat image : temp/1742611948_3388233_1346328227_50b9613ae0f8d7a1bbce92981daba8e9.jpg resize: (1080, 1632) 1346328227 -4.058911627017938 treat image : temp/1742611948_3388233_1346328114_0a7e5386ced88508ab8b62387772e495.jpg resize: (1080, 1632) 1346328114 -6.600158405194712 treat image : temp/1742611948_3388233_1346328109_c54af6d93abe35ee3b39eba25309981c.jpg resize: (1080, 1632) 1346328109 -6.839950440453337 treat image : temp/1742611948_3388233_1346328106_abebc7e60a6e61b238f90e1a34963c68.jpg resize: (1080, 1632) 1346328106 -5.4840042082339355 treat image : temp/1742611948_3388233_1346328103_e5297837d7a4ad820c219ad61d8a420e.jpg resize: (1080, 1632) 1346328103 -1.5951986726668554 treat image : temp/1742611948_3388233_1346328056_ee4c78eac948fbd5bb440a0f360c14ad.jpg resize: (1080, 1632) 1346328056 -2.5631297743998824 treat image : temp/1742611948_3388233_1346328049_e52497ce27799df3c00fb86332595d58.jpg resize: (1080, 1632) 1346328049 -4.238641419920035 treat image : temp/1742611948_3388233_1346328042_7903bcf5349a53f9ad3eb3c0e4c5d354.jpg resize: (1080, 1632) 1346328042 -6.597777536815069 treat image : temp/1742611948_3388233_1346328033_73a7feaa6f4c39de0972d91d3b7a69ad.jpg resize: (1080, 1632) 1346328033 -6.537327302963875 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.2598755359649658 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.016798734664916992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021248340606689453 save missing photos in datou_result : time spend for datou_step_exec : 16.188454389572144 time spend to save output : 0.3030421733856201 total time spend for step 1 : 16.491496562957764 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.32user 3.58system 0:22.51elapsed 83%CPU (0avgtext+0avgdata 140128maxresident)k 160inputs+11808outputs (25major+236276minor)pagefaults 0swaps