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 : 72996 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 : 4101>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/72996/ 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.5315167903900146 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 Jul 17 12:17:32 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/1752747450_72996_1372397487_943538da32c48d25a1a5fbd37a498e15.jpg resize: (1080, 1632) 1372397487 -5.291120183831189 treat image : temp/1752747450_72996_1372397482_1978e6d3afdadfb8ba13b3cef819b8a5.jpg resize: (1080, 1632) 1372397482 -5.2885217866791825 treat image : temp/1752747450_72996_1372397479_36da1b437d1a3230abe6bb23acafc525.jpg resize: (1080, 1632) 1372397479 -5.2884122932335735 treat image : temp/1752747450_72996_1372397477_d1976022de29aa3fe86f11849d345572.jpg resize: (1080, 1632) 1372397477 -5.2879468282455635 treat image : temp/1752747450_72996_1372397476_b74fac5e18aa6fb13d997ed4145a71fa.jpg resize: (1080, 1632) 1372397476 -5.287302696719818 treat image : temp/1752747450_72996_1372397467_bf0ce9b129cbe28fcc5ec1e9e6a2a16f.jpg resize: (1080, 1632) 1372397467 -5.280895852283129 treat image : temp/1752747450_72996_1372345562_b0bf87b5a3f5830f32b635d5f657627f.jpg resize: (1080, 1632) 1372345562 -2.831124008361236 treat image : temp/1752747450_72996_1372345559_cc77ab793c00725404bea3736fb6096d.jpg resize: (1080, 1632) 1372345559 -1.952917106516433 treat image : temp/1752747450_72996_1372345557_5fb2f28646c370f027afd849b5b6ff0f.jpg resize: (1080, 1632) 1372345557 -4.099554339326392 treat image : temp/1752747450_72996_1372345555_54ea749667fa7eff009f718c5d7fb9d1.jpg resize: (1080, 1632) 1372345555 -4.093055031273784 treat image : temp/1752747450_72996_1372345553_45e1c49e0aea8a156068ed6a92b8b8b3.jpg resize: (1080, 1632) 1372345553 -4.122031151048154 treat image : temp/1752747450_72996_1372345551_a42da652f40bf90143b5ddd02bf6b066.jpg resize: (1080, 1632) 1372345551 -4.1029675486205734 treat image : temp/1752747450_72996_1372345525_e9ebf437ac1e1c0233b1f42c0290589e.jpg resize: (1080, 1632) 1372345525 -3.0599171041782154 treat image : temp/1752747450_72996_1372345503_778f376694fdecd4a72360064b353b4e.jpg resize: (1080, 1632) 1372345503 -3.0587757866739085 treat image : temp/1752747450_72996_1372345499_37f9d55be3baf431c3c7e8c06f515bd8.jpg resize: (1080, 1632) 1372345499 -3.066512163738888 treat image : temp/1752747450_72996_1372345496_2797d1b7d0252d20f57cf4b3a4788c2e.jpg resize: (1080, 1632) 1372345496 -3.05445513940317 treat image : temp/1752747450_72996_1372345493_b0765ee732a3d133f39df5ac116664ea.jpg resize: (1080, 1632) 1372345493 -3.0608123950184565 treat image : temp/1752747450_72996_1372345490_ad2754d2a475492191fa6d96d205aaed.jpg resize: (1080, 1632) 1372345490 -3.0536951979195774 treat image : temp/1752747450_72996_1372345489_b5076a4158f71c08ed6357e2f79ce2a0.jpg resize: (1080, 1632) 1372345489 -3.0549025513028125 treat image : temp/1752747450_72996_1372345464_285a4b242572ff8ac5e1ce2b19e49bbe.jpg resize: (1080, 1632) 1372345464 -3.047946551639498 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.03805375099182129 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.038503170013427734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.043707847595214844 save missing photos in datou_result : time spend for datou_step_exec : 13.854949951171875 time spend to save output : 0.1356031894683838 total time spend for step 1 : 13.990553140640259 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.23user 2.95system 0:20.96elapsed 77%CPU (0avgtext+0avgdata 138408maxresident)k 0inputs+8320outputs (9major+257583minor)pagefaults 0swaps