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 : 57027 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 : 467>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/57027/ 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.3468964099884033 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 Tue Apr 8 07:17:30 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/1744089448_57027_1350545004_734f22a2a8fa4862488545cad9c6c46a.jpg resize: (1080, 1632) 1350545004 -2.6371914145554953 treat image : temp/1744089448_57027_1350545002_96449cfb0a4b2121c1bc99fdf647f2ad.jpg resize: (1080, 1632) 1350545002 -4.205339700091936 treat image : temp/1744089448_57027_1350544998_dffd2e1f9f5d324f7bdbc31d892a504f.jpg resize: (1080, 1632) 1350544998 -4.525673005662402 treat image : temp/1744089448_57027_1350544992_7d9f6827098f4314bbdf93fb12115139.jpg resize: (1080, 1632) 1350544992 -3.6523462201528405 treat image : temp/1744089448_57027_1350544985_ac6b296fb4c7de509518297bcad1c3f4.jpg resize: (1080, 1632) 1350544985 -4.429417208245139 treat image : temp/1744089448_57027_1350544981_0e816e960457f736a95ff263b0248431.jpg resize: (1080, 1632) 1350544981 -4.500268079927938 treat image : temp/1744089448_57027_1350544968_046144ef4db635493d83bf3a05df8316.jpg resize: (1080, 1632) 1350544968 -5.453157299146035 treat image : temp/1744089448_57027_1350544962_e6d8cb96c53d3ebf757c6034a8609994.jpg resize: (1080, 1632) 1350544962 -5.523787750746114 treat image : temp/1744089448_57027_1350544961_9dbd663040a6066d3cc577f31c3f651c.jpg resize: (1080, 1632) 1350544961 -4.623396367374694 treat image : temp/1744089448_57027_1350544955_b1a0182b5b3b52dd4cd7977ed5ff96f9.jpg resize: (1080, 1632) 1350544955 -4.615280745818971 treat image : temp/1744089448_57027_1350544953_717dfdc1ef7a7670970e9a3ecc4a93c9.jpg resize: (1080, 1632) 1350544953 -4.512120964643098 treat image : temp/1744089448_57027_1350544952_eadd9eb4a5028a2c32e5ef29fa46c986.jpg resize: (1080, 1632) 1350544952 -4.375309945254233 treat image : temp/1744089448_57027_1350544943_67d1a39fea4eb28d39ef4a96c95a2210.jpg resize: (1080, 1632) 1350544943 -4.6637188053049075 treat image : temp/1744089448_57027_1350544936_a2b5f90157ea2c130f0f1f0ed8ea006e.jpg resize: (1080, 1632) 1350544936 -5.650901025840649 treat image : temp/1744089448_57027_1350544927_fda2c8001d83ef517acd13bc2ba8f41e.jpg resize: (1080, 1632) 1350544927 -4.644760363058851 treat image : temp/1744089448_57027_1350544921_420f1f61bf057dfc74b6ea67f5976e92.jpg resize: (1080, 1632) 1350544921 -1.957115933009523 treat image : temp/1744089448_57027_1350544917_0c03f0cb16b4990e3e1b5ba8303ea6ad.jpg resize: (1080, 1632) 1350544917 -2.6371914145554953 treat image : temp/1744089448_57027_1350544912_d39231ffd834ef0ab5014a04eb353f45.jpg resize: (1080, 1632) 1350544912 -4.205339700091936 treat image : temp/1744089448_57027_1350544811_4fcb64994eedf35615ae4e3d3d1449b3.jpg resize: (1080, 1632) 1350544811 -6.328216560398665 treat image : temp/1744089448_57027_1350544786_18ea4a22334f3bd0b6d5715ae566134e.jpg resize: (1080, 1632) 1350544786 -5.197206836889223 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.012508630752563477 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.01397848129272461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02185654640197754 save missing photos in datou_result : time spend for datou_step_exec : 14.99808645248413 time spend to save output : 0.05359816551208496 total time spend for step 1 : 15.051684617996216 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 2.88system 0:19.73elapsed 88%CPU (0avgtext+0avgdata 139696maxresident)k 88inputs+8976outputs (7major+199276minor)pagefaults 0swaps