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 : 2330669 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 : 1166>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2330669/ 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.280811071395874 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 May 22 10:12:31 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/1747901549_2330669_1360486156_d963e3e9cd94ece4ee8045cc229546a3.jpg resize: (1080, 1632) 1360486156 -6.467182702965349 treat image : temp/1747901549_2330669_1360486068_1e09fca09200382af49f2c0082ae1e4c.jpg resize: (1080, 1632) 1360486068 -6.018254034798348 treat image : temp/1747901549_2330669_1360486038_85e920f02c49b690e3a305bd1a611457.jpg resize: (1080, 1632) 1360486038 -5.022907293841667 treat image : temp/1747901549_2330669_1360485644_231052ac95030b835b3d36a603151b93.jpg resize: (1080, 1632) 1360485644 -6.4776327139181 treat image : temp/1747901549_2330669_1360485611_ace9a4eb5012e59bc63a5ffbc95cf8a4.jpg resize: (1080, 1632) 1360485611 -6.356702240461818 treat image : temp/1747901549_2330669_1360485195_11e3891e1e770eb172892281c5129d88.jpg resize: (1080, 1632) 1360485195 -1.4903775092009033 treat image : temp/1747901549_2330669_1360485149_0296e3663ac8419402128dfbe9e61a38.jpg resize: (1080, 1632) 1360485149 -5.858175113226284 treat image : temp/1747901549_2330669_1360485104_8017d7387922cb5df8ccfc41dd43eae9.jpg resize: (1080, 1632) 1360485104 -6.489358976835242 treat image : temp/1747901549_2330669_1360485063_39b472f6e3c3dcecdde8571ec771a542.jpg resize: (1080, 1632) 1360485063 -4.943696245846647 treat image : temp/1747901549_2330669_1360484598_eb48a6e1ad93cc270bafd948b39b608d.jpg resize: (1080, 1632) 1360484598 -5.836417232810978 treat image : temp/1747901549_2330669_1360484536_a517965223f10de920a99b1b68ed270c.jpg resize: (1080, 1632) 1360484536 -6.183361291615046 treat image : temp/1747901549_2330669_1360484481_85b05843c359a753f260ae4203c0b81a.jpg resize: (1080, 1632) 1360484481 -1.5407879920064826 treat image : temp/1747901549_2330669_1360484350_a49e010cb76a041de8bbf771b4d65201.jpg resize: (1080, 1632) 1360484350 -3.6971840993984895 treat image : temp/1747901549_2330669_1360484321_be9b8bfee52d77eafc855851f6dcce45.jpg resize: (1080, 1632) 1360484321 -5.574233538452795 treat image : temp/1747901549_2330669_1360484305_087d4e03f1635284caf2b6ffd5ce1f4a.jpg resize: (1080, 1632) 1360484305 -5.953985115463166 treat image : temp/1747901549_2330669_1360484292_06a302cd290ac244f648164bf68a61b1.jpg resize: (1080, 1632) 1360484292 -6.234506797141195 treat image : temp/1747901549_2330669_1360484261_452ce8c6e5a6985fbe1ac3fd9e28e8e4.jpg resize: (1080, 1632) 1360484261 -5.289858916731651 treat image : temp/1747901549_2330669_1360484233_6a81e895f4ddcf7b5b3fdeaed128d559.jpg resize: (1080, 1632) 1360484233 -3.6607231500855066 treat image : temp/1747901549_2330669_1360481714_70f381ac35fbeb495550a5ffbff0f388.jpg resize: (1080, 1632) 1360481714 -4.703538225186792 treat image : temp/1747901549_2330669_1360481673_f05060fc9ed71a542aa048b8d15dd9bb.jpg resize: (1080, 1632) 1360481673 -5.7087752424350136 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.013767242431640625 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.03402590751647949 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03683590888977051 save missing photos in datou_result : time spend for datou_step_exec : 16.543739080429077 time spend to save output : 0.09761977195739746 total time spend for step 1 : 16.641358852386475 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.40user 3.96system 0:22.00elapsed 87%CPU (0avgtext+0avgdata 140080maxresident)k 3800inputs+11312outputs (47major+262330minor)pagefaults 0swaps