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 : 57214 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 : 978>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/57214/ 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.084984540939331 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 08:02:29 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/1742626947_57214_1346357555_e522014042fa670026e84b9cf9d789a6.jpg resize: (1080, 1632) 1346357555 -5.396006115933792 treat image : temp/1742626947_57214_1346357554_1dcf9d4fe6e9953c09577ec199daf8c3.jpg resize: (1080, 1632) 1346357554 -5.5135563949547715 treat image : temp/1742626947_57214_1346357523_6e2fe20330ff6d9ac3e492a5c20b5a11.jpg resize: (1080, 1632) 1346357523 -5.508231221244917 treat image : temp/1742626947_57214_1346357507_7f623ce2c7d73261c208cc7b99ceec58.jpg resize: (1080, 1632) 1346357507 -5.203268172763697 treat image : temp/1742626947_57214_1346357506_8a304c5807ce5d7b4ef951354039ed7d.jpg resize: (1080, 1632) 1346357506 -4.855686004499404 treat image : temp/1742626947_57214_1346357497_0676d3869a672ce584c310e31fd2bed8.jpg resize: (1080, 1632) 1346357497 -2.8882723384249123 treat image : temp/1742626947_57214_1346357425_75dad6a31ea444ed97cfda8e241f7d49.jpg resize: (1080, 1632) 1346357425 -2.110724338375635 treat image : temp/1742626947_57214_1346357407_7c8d1a2936c791f66447a057a8b8bdce.jpg resize: (1080, 1632) 1346357407 -2.8249107575926775 treat image : temp/1742626947_57214_1346357400_dc3d2b5b96ad555e5bf8687206acb302.jpg resize: (1080, 1632) 1346357400 -3.344443155428048 treat image : temp/1742626947_57214_1346357372_8f303045d465e78f2938aabae9fffed6.jpg resize: (1080, 1632) 1346357372 -4.512279347394242 treat image : temp/1742626947_57214_1346357316_d217f0a07358fdd4f0d0efb3826d1735.jpg resize: (1080, 1632) 1346357316 -4.493540219061264 treat image : temp/1742626947_57214_1346357272_c0662dab6c502717eec86fc370713c3a.jpg resize: (1080, 1632) 1346357272 -4.792016311998926 treat image : temp/1742626947_57214_1346357003_8745619cc25980fbea5df10d06993e6b.jpg resize: (1080, 1632) 1346357003 -3.881733168626859 treat image : temp/1742626947_57214_1346356973_d84adabd26eab07bd1df4db81d8ec132.jpg resize: (1080, 1632) 1346356973 -5.291002728896651 treat image : temp/1742626947_57214_1346356940_25d908cabfe301d06e14d61a79d92ab8.jpg resize: (1080, 1632) 1346356940 -4.778746349915802 treat image : temp/1742626947_57214_1346356912_56f4db360994d1ce4f94bafeaf93eaf6.jpg resize: (1080, 1632) 1346356912 -5.530180977713632 treat image : temp/1742626947_57214_1346356884_5bfe192357ef0283bd253c1f6420d372.jpg resize: (1080, 1632) 1346356884 -4.6819867366436085 treat image : temp/1742626947_57214_1346356857_09a6ba7e9bd3c58b0f507d2323f063c6.jpg resize: (1080, 1632) 1346356857 -3.4341604261435315 treat image : temp/1742626947_57214_1346355782_bdd41817632333c1962f28af888d81ce.jpg resize: (1080, 1632) 1346355782 -5.913078978463364 treat image : temp/1742626947_57214_1346355747_79ebe44c8442bb20fee31d02b28f1804.jpg resize: (1080, 1632) 1346355747 -6.171429624195808 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.012784719467163086 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.011821508407592773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015047311782836914 save missing photos in datou_result : time spend for datou_step_exec : 14.944617509841919 time spend to save output : 0.04799079895019531 total time spend for step 1 : 14.992608308792114 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.03user 3.48system 0:19.76elapsed 88%CPU (0avgtext+0avgdata 140308maxresident)k 0inputs+9152outputs (10major+250246minor)pagefaults 0swaps