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 : 2238361 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 : 1874>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/2238361/ 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.658752679824829 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 May 20 12:47: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/1747738048_2238361_1359800488_2177f8c59442bfaf3dfb01f821606e41.jpg resize: (1080, 1632) 1359800488 -5.472521060110597 treat image : temp/1747738048_2238361_1359794646_e4c4da47289d97aaeced4578d0cca45c.jpg resize: (1080, 1632) 1359794646 -3.1214662911594817 treat image : temp/1747738048_2238361_1359794640_f35846b9b583bef972ef346fe9eaf6e1.jpg resize: (1080, 1632) 1359794640 -4.079201686376937 treat image : temp/1747738048_2238361_1359794633_d2a2984ecd21987dc08b761db8cff371.jpg resize: (1080, 1632) 1359794633 -4.429847953594783 treat image : temp/1747738048_2238361_1359794628_6a981a2f9500206bae4f2ec6f2dba2ee.jpg resize: (1080, 1632) 1359794628 -2.0422633864917237 treat image : temp/1747738048_2238361_1359794624_66389dcd7e77bfa2fc005768288403a9.jpg resize: (1080, 1632) 1359794624 -1.3330937534759133 treat image : temp/1747738048_2238361_1359794606_13a379cc8d3a082b9a9ba23d7d2b5514.jpg resize: (1080, 1632) 1359794606 -3.5661208176387507 treat image : temp/1747738048_2238361_1359794602_55e6ecef46fa6b5941900c29e0677fa9.jpg resize: (1080, 1632) 1359794602 -5.28420424061027 treat image : temp/1747738048_2238361_1359794598_ca1c41e0a0393b1e9905fb45ab66aaea.jpg resize: (1080, 1632) 1359794598 -6.123505138509163 treat image : temp/1747738048_2238361_1359794593_1efb4ecd1fd3ea609c9baf52592f36ee.jpg resize: (1080, 1632) 1359794593 -5.660730697367351 treat image : temp/1747738048_2238361_1359794585_9eb1e136b548c917e036633c7c4dd400.jpg resize: (1080, 1632) 1359794585 -5.225109243037521 treat image : temp/1747738048_2238361_1359794580_4570f4b03058fdc5f638e434702c0935.jpg resize: (1080, 1632) 1359794580 -5.094398753541975 treat image : temp/1747738048_2238361_1359794387_4e4fbc5bfd5b040fa203950748d0dbc9.jpg resize: (1080, 1632) 1359794387 -1.475656614860388 treat image : temp/1747738048_2238361_1359794354_035719d41917f1a0745017b35daa9477.jpg resize: (1080, 1632) 1359794354 -0.9883003071718979 treat image : temp/1747738048_2238361_1359794323_cb229275f7cca3ba808f1ec6ed80606c.jpg resize: (1080, 1632) 1359794323 -1.69786370802321 treat image : temp/1747738048_2238361_1359794154_65bb5533f904d5729f0bdc8f2aff739e.jpg resize: (1080, 1632) 1359794154 -5.725574519057542 treat image : temp/1747738048_2238361_1359794122_0c75d4d33ea8269a80258e41090e0de7.jpg resize: (1080, 1632) 1359794122 -4.5827175240144005 treat image : temp/1747738048_2238361_1359794089_380d997f859edf59785ba0005b43c1f6.jpg resize: (1080, 1632) 1359794089 -5.424017221384436 treat image : temp/1747738048_2238361_1359794059_6f993249345c0667f5c591ac1863ccf6.jpg resize: (1080, 1632) 1359794059 -4.509683703591565 treat image : temp/1747738048_2238361_1359794030_0491f46b4fdb47d683000ee8d490a2ec.jpg resize: (1080, 1632) 1359794030 -3.0293320645149917 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.011962652206420898 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.011884450912475586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013996362686157227 save missing photos in datou_result : time spend for datou_step_exec : 19.78460121154785 time spend to save output : 0.0435032844543457 total time spend for step 1 : 19.828104496002197 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 7.59system 0:26.56elapsed 83%CPU (0avgtext+0avgdata 140596maxresident)k 112inputs+8984outputs (0major+256121minor)pagefaults 0swaps