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 : 2813747 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2813747/ 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 : 3.103209972381592 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 Jul 18 06:27:33 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/1752812850_2813747_1372325708_6463b2283bb11458c7abbc6715268107.jpg resize: (1080, 1632) 1372325708 -2.1213642473679233 treat image : temp/1752812850_2813747_1372325688_fe625534e5206aedae469246c9cec3cb.jpg resize: (1080, 1632) 1372325688 -5.084408142859322 treat image : temp/1752812850_2813747_1372325685_df6432e7ac316426edff8b975a8e1196.jpg resize: (1080, 1632) 1372325685 -4.747672326344767 treat image : temp/1752812850_2813747_1372325684_ba0acdd3b0ed85a6bad7c413f55eb2c9.jpg resize: (1080, 1632) 1372325684 -2.6435518948157086 treat image : temp/1752812850_2813747_1372325680_0be99541e61633feff1e129764a9a47d.jpg resize: (1080, 1632) 1372325680 -4.810329864525022 treat image : temp/1752812850_2813747_1372325676_03c8d172a974f9e87115927e53b8977b.jpg resize: (1080, 1632) 1372325676 -4.920036427170012 treat image : temp/1752812850_2813747_1372325674_9ff3f0752972bd8da4caef183e21b477.jpg resize: (1080, 1632) 1372325674 -4.9160329882689435 treat image : temp/1752812850_2813747_1372325655_5ef1764d654016b376a6f7c77131b0dc.jpg resize: (1080, 1632) 1372325655 -2.7427430466454332 treat image : temp/1752812850_2813747_1372325653_2becdb63a6c24bb63f02c42b43788fea.jpg resize: (1080, 1632) 1372325653 -4.164820141167257 treat image : temp/1752812850_2813747_1372325649_31f39bef95eedaf87305024adac5c1d5.jpg resize: (1080, 1632) 1372325649 -4.138023448256284 treat image : temp/1752812850_2813747_1372325645_589b4bc566781043e79b0b6743f2d050.jpg resize: (1080, 1632) 1372325645 -4.140897380419563 treat image : temp/1752812850_2813747_1372325642_f99d3c02db090ec930243c9d8aee30b1.jpg resize: (1080, 1632) 1372325642 -5.080106507679327 treat image : temp/1752812850_2813747_1372325638_b83d477c80721393d744742934b84464.jpg resize: (1080, 1632) 1372325638 -4.966371114263344 treat image : temp/1752812850_2813747_1372325611_fc6a9de68f8f0d9c77102baf59b922b8.jpg resize: (1080, 1632) 1372325611 -1.4867421096267714 treat image : temp/1752812850_2813747_1372325593_5fe96947a3499b303c4d3fe22321a8af.jpg resize: (1080, 1632) 1372325593 -5.480359411095904 treat image : temp/1752812850_2813747_1372325589_931cc9cf231cf303dbd508ba13742e9d.jpg resize: (1080, 1632) 1372325589 -5.49395915359312 treat image : temp/1752812850_2813747_1372325585_6f4caee6db62eefaac8960d88d0b50d9.jpg resize: (1080, 1632) 1372325585 -5.229532688893981 treat image : temp/1752812850_2813747_1372325582_d1169cc8f50db1366b60a98576ebebfd.jpg resize: (1080, 1632) 1372325582 -5.18720606717761 treat image : temp/1752812850_2813747_1372325580_918bafb17aa66eaf5c24695205bcbba3.jpg resize: (1080, 1632) 1372325580 -4.99784619328904 treat image : temp/1752812850_2813747_1372325575_99f5e1c0bb784eda1fb1e30cabbc548f.jpg resize: (1080, 1632) 1372325575 -5.346160781870945 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.01257944107055664 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.016889572143554688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025064468383789062 save missing photos in datou_result : time spend for datou_step_exec : 20.87101721763611 time spend to save output : 0.05950760841369629 total time spend for step 1 : 20.930524826049805 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.25user 9.20system 0:28.40elapsed 82%CPU (0avgtext+0avgdata 138144maxresident)k 48inputs+8880outputs (9major+251584minor)pagefaults 0swaps