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 : 3975285 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 : 4614>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3975285/ 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.3049373626708984 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 Wed Jul 9 20:52: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/1752087147_3975285_1371430862_336cb3a7d941f54d5bb3b3b2b975401b.jpg resize: (1080, 1632) 1371430862 -5.613704945901922 treat image : temp/1752087147_3975285_1371430861_da11fd199436b46234ce794aa7a3e8a3.jpg resize: (1080, 1632) 1371430861 -4.975335366566794 treat image : temp/1752087147_3975285_1371430859_57ad596841529e15ae252b21b8ec7c3c.jpg resize: (1080, 1632) 1371430859 -4.497299993883222 treat image : temp/1752087147_3975285_1371430858_b0e650d8bfb606761ffd52cb43e286a4.jpg resize: (1080, 1632) 1371430858 -4.792178881981065 treat image : temp/1752087147_3975285_1371430857_1382e844005d7f44715a3184aaee214a.jpg resize: (1080, 1632) 1371430857 -4.483054440277801 treat image : temp/1752087147_3975285_1371430856_525f2435405db18c8d935a05a7b35eba.jpg resize: (1080, 1632) 1371430856 -5.75963238765934 treat image : temp/1752087147_3975285_1371430854_c5470653a82eb874edb4d505ae417ebf.jpg resize: (1080, 1632) 1371430854 -4.354766734092432 treat image : temp/1752087147_3975285_1371430852_d442613af37bff8752c526b8a590b048.jpg resize: (1080, 1632) 1371430852 -4.359189256968139 treat image : temp/1752087147_3975285_1371430851_a356f8aade41ca22c97899afd0faa7cc.jpg resize: (1080, 1632) 1371430851 -4.350405569800868 treat image : temp/1752087147_3975285_1371430849_788a282ffe3c8ec418e9573454042977.jpg resize: (1080, 1632) 1371430849 -4.345418267070099 treat image : temp/1752087147_3975285_1371430846_a53249696907de7ce9538c35c1e7c8a0.jpg resize: (1080, 1632) 1371430846 -4.340150316866271 treat image : temp/1752087147_3975285_1371430843_a6ddcd5d7ead7aca9279b9dee3083297.jpg resize: (1080, 1632) 1371430843 -4.334327614001594 treat image : temp/1752087147_3975285_1371430807_869e7a5343c8c0e498f1736a25ed0ac0.jpg resize: (1080, 1632) 1371430807 -4.357130873863859 treat image : temp/1752087147_3975285_1371430806_890051aa6f5d8587d039a19a3baca321.jpg resize: (1080, 1632) 1371430806 -4.357130873863859 treat image : temp/1752087147_3975285_1371430805_e10e7b8663b98c1f4dc4ed8ac10a6b70.jpg resize: (1080, 1632) 1371430805 -4.344119013126496 treat image : temp/1752087147_3975285_1371430804_a7f4802f42c6180030a5d38e962d78be.jpg resize: (1080, 1632) 1371430804 -4.344119013126496 treat image : temp/1752087147_3975285_1371430799_38355d283153d44a83f5267b90e88f0b.jpg resize: (1080, 1632) 1371430799 -2.7104260034737537 treat image : temp/1752087147_3975285_1371430798_5be6c3c3c7a1b1a5fda1b00680f0ae31.jpg resize: (1080, 1632) 1371430798 -2.9321162433098085 treat image : temp/1752087147_3975285_1371430796_cd997715d16a605a7052ddcf8ecc42da.jpg resize: (1080, 1632) 1371430796 -3.018861436518125 treat image : temp/1752087147_3975285_1371430795_715343858fec3e5fefd21a26c7a5e7be.jpg resize: (1080, 1632) 1371430795 -5.197418309659208 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.012859344482421875 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.012799739837646484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014642477035522461 save missing photos in datou_result : time spend for datou_step_exec : 13.487727880477905 time spend to save output : 0.04534721374511719 total time spend for step 1 : 13.533075094223022 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 1.53system 0:17.98elapsed 87%CPU (0avgtext+0avgdata 139240maxresident)k 136inputs+9128outputs (8major+108376minor)pagefaults 0swaps