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 : 4154939 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 : 7432>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/4154939/ 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.626973867416382 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 Jul 5 14:32: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/1751718749_4154939_1370795080_dffbc5aa249914dc85663c5c7cda0911.jpg resize: (1080, 1632) 1370795080 -5.51119243435484 treat image : temp/1751718749_4154939_1370795078_d4a5e8372a14e31ede3a326516ce1d46.jpg resize: (1080, 1632) 1370795078 -5.504418704260132 treat image : temp/1751718749_4154939_1370795073_cc1bb64c2284bfe83ab2420bf7b2233b.jpg resize: (1080, 1632) 1370795073 -5.515606528212975 treat image : temp/1751718749_4154939_1370795070_4d02c90f0f35f6f9ec025585c9dfcb91.jpg resize: (1080, 1632) 1370795070 -5.518366752663399 treat image : temp/1751718749_4154939_1370795066_2cecbf879ebe8bd0888ffe132f725de9.jpg resize: (1080, 1632) 1370795066 -5.515377237884569 treat image : temp/1751718749_4154939_1370795063_cf18944f791fb03d594e170c978d9814.jpg resize: (1080, 1632) 1370795063 -5.508905511195217 treat image : temp/1751718749_4154939_1370795057_7fce1172fc20dbe2be4455f101e4f005.jpg resize: (1080, 1632) 1370795057 -5.509150361225531 treat image : temp/1751718749_4154939_1370795055_a5eed36b8fc18c87473b72b30f8f5065.jpg resize: (1080, 1632) 1370795055 -5.5059029953592775 treat image : temp/1751718749_4154939_1370795050_d803dda7679f640e8f629c0830c1706c.jpg resize: (1080, 1632) 1370795050 -5.501077910977408 treat image : temp/1751718749_4154939_1370795046_702299aac8b8973bfd2c774eafec8ded.jpg resize: (1080, 1632) 1370795046 -5.504163143684429 treat image : temp/1751718749_4154939_1370795041_cc4fdc45c39348c2e0e3cd5e3136d95b.jpg resize: (1080, 1632) 1370795041 -5.492670958532339 treat image : temp/1751718749_4154939_1370795034_876252ec0bdd21486acf6fd0a22abf8f.jpg resize: (1080, 1632) 1370795034 -5.489405961112982 treat image : temp/1751718749_4154939_1370795026_56d71677cc863d8337886e9dae195431.jpg resize: (1080, 1632) 1370795026 -5.497933860067456 treat image : temp/1751718749_4154939_1370795022_0d35001c6e7ee9b1a79291312a9eb4a8.jpg resize: (1080, 1632) 1370795022 -5.501062060666273 treat image : temp/1751718749_4154939_1370795019_88e98d18f41f8c2faba89783fd642df4.jpg resize: (1080, 1632) 1370795019 -5.481047927819439 treat image : temp/1751718749_4154939_1370795016_0ed439c4642e1bd043aaed119bade93a.jpg resize: (1080, 1632) 1370795016 -5.4722046256435375 treat image : temp/1751718749_4154939_1370795011_5228dddfa885bfd305f3ff854a1f20db.jpg resize: (1080, 1632) 1370795011 -5.470570327257843 treat image : temp/1751718749_4154939_1370795009_b8c6768e94fb788847e25d2e2e3de926.jpg resize: (1080, 1632) 1370795009 -5.472511396809557 treat image : temp/1751718749_4154939_1370794920_b3201a684882624b9e790d44b4f34c69.jpg resize: (1080, 1632) 1370794920 -5.270829359486758 treat image : temp/1751718749_4154939_1370794916_63596b19ad29fd5a6c05143d9a1445b8.jpg resize: (1080, 1632) 1370794916 -5.2626109517726 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.015129804611206055 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.01677227020263672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023925304412841797 save missing photos in datou_result : time spend for datou_step_exec : 15.111320734024048 time spend to save output : 0.06072711944580078 total time spend for step 1 : 15.172047853469849 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 3.67system 0:21.37elapsed 83%CPU (0avgtext+0avgdata 139916maxresident)k 0inputs+10512outputs (2major+257034minor)pagefaults 0swaps