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 : 4066028 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 : 1878>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/4066028/ 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.374645948410034 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 Mar 21 14:52: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/1742565149_4066028_1346012743_da38e7cbe0426bbf7b4f818ce64fe80d.jpg resize: (1080, 1632) 1346012743 -2.394166000823336 treat image : temp/1742565149_4066028_1346012703_a28e7663ec6a63221bd001974796afd1.jpg resize: (1080, 1632) 1346012703 -4.158003014258828 treat image : temp/1742565149_4066028_1346012656_5489e045addbc1f6ee68249cecdd2a55.jpg resize: (1080, 1632) 1346012656 -5.081848916631758 treat image : temp/1742565149_4066028_1346012639_432b9478958a54ce0a1feca281ab012e.jpg resize: (1080, 1632) 1346012639 -5.566918537968279 treat image : temp/1742565149_4066028_1346012597_fd1799e3491ae94bf54af57c90faa652.jpg resize: (1080, 1632) 1346012597 -5.581802987564021 treat image : temp/1742565149_4066028_1346012573_c1342f7ca888fe1892ad9ddc22f4cac5.jpg resize: (1080, 1632) 1346012573 -5.089500879191229 treat image : temp/1742565149_4066028_1346011250_61296576d9273ac662b5cb9384137534.jpg resize: (1080, 1632) 1346011250 -5.9234438379460475 treat image : temp/1742565149_4066028_1346011240_cd9ae2b9ab1dbd9dcc8b62416eae03a7.jpg resize: (1080, 1632) 1346011240 -6.339343789518398 treat image : temp/1742565149_4066028_1346011225_334e8366d3c1d27f255f05a42060dde3.jpg resize: (1080, 1632) 1346011225 -3.5881338802989524 treat image : temp/1742565149_4066028_1346011202_0556b1a48cc6b75b8e079ff0f436189c.jpg resize: (1080, 1632) 1346011202 -1.9361600421680245 treat image : temp/1742565149_4066028_1346010949_f6b09fde5ec4f5ff73401dc17662d8f4.jpg resize: (1080, 1632) 1346010949 -2.378918923631515 treat image : temp/1742565149_4066028_1346010857_a00683d964a7429b9992fd1695123b9a.jpg resize: (1080, 1632) 1346010857 -6.964878084013157 treat image : temp/1742565149_4066028_1346010809_e572eb1292ec6965da461527cb6dfb92.jpg resize: (1080, 1632) 1346010809 -6.490726164171072 treat image : temp/1742565149_4066028_1346010583_53b48eb0bca60c8b7f684de58ed2f5b9.jpg resize: (1080, 1632) 1346010583 -5.295333296025352 treat image : temp/1742565149_4066028_1346010528_e4c49204c15d671d0141eac4ac4c8258.jpg resize: (1080, 1632) 1346010528 -6.22685110956364 treat image : temp/1742565149_4066028_1346010438_f24458a29b7983c50ba85d1b13a9851e.jpg resize: (1080, 1632) 1346010438 -4.382454444913036 treat image : temp/1742565149_4066028_1346004397_87a0c32830ae8d26d36af53aa1fd8a4c.jpg resize: (1080, 1632) 1346004397 -5.447887383858765 treat image : temp/1742565149_4066028_1346004371_edfa2c95b09aabc1ff81cba080331ef3.jpg resize: (1080, 1632) 1346004371 -5.396184013718536 treat image : temp/1742565149_4066028_1345997419_92cc393a0529f261bc8e6a0ebbefc5e1.jpg resize: (1080, 1632) 1345997419 -4.894402377084564 treat image : temp/1742565149_4066028_1345997389_1b1d0290eb96ccfcc7d038148b002e8c.jpg resize: (1080, 1632) 1345997389 -5.019582503134242 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.012685298919677734 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.012181282043457031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01584172248840332 save missing photos in datou_result : time spend for datou_step_exec : 12.942509174346924 time spend to save output : 0.0454709529876709 total time spend for step 1 : 12.987980127334595 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.47user 2.03system 0:18.87elapsed 82%CPU (0avgtext+0avgdata 140776maxresident)k 136inputs+10360outputs (2major+129196minor)pagefaults 0swaps