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 : 1785845 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 : 4396>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1785845/ 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.1937050819396973 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 Fri Jul 4 17: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/1751643149_1785845_1370658877_7268237d562fdd76af8d746cc5790e56.jpg resize: (1080, 1632) 1370658877 -1.2428886203468217 treat image : temp/1751643149_1785845_1370658873_d03ec1f9b4dcc23b6812e3ababcb026a.jpg resize: (1080, 1632) 1370658873 -2.243439471128379 treat image : temp/1751643149_1785845_1370658870_045fa76a7c4f7a2b7f79332e72bb05ca.jpg resize: (1080, 1632) 1370658870 -2.252112484291292 treat image : temp/1751643149_1785845_1370658862_0bc7bb64bba99f15dbb720410e867aef.jpg resize: (1080, 1632) 1370658862 -2.2951462975172223 treat image : temp/1751643149_1785845_1370658857_6d2fe21f978eea95c1774591805eefc3.jpg resize: (1080, 1632) 1370658857 -3.692879763085857 treat image : temp/1751643149_1785845_1370658853_f649089aef276621c7134cdc580c860d.jpg resize: (1080, 1632) 1370658853 -3.7199852851721955 treat image : temp/1751643149_1785845_1370658837_73e79135f2c805cd59d8e9d3bef247f5.jpg resize: (1080, 1632) 1370658837 -6.0041714445652055 treat image : temp/1751643149_1785845_1370658835_30c557ce131954d7419aa8dc3362e6fb.jpg resize: (1080, 1632) 1370658835 -5.997907407338404 treat image : temp/1751643149_1785845_1370658830_c86b6b1fe7a3c77ec51b87d01ac7a1c7.jpg resize: (1080, 1632) 1370658830 -5.365935451886083 treat image : temp/1751643149_1785845_1370658818_fe33a160554483a57a0253ec6ba6cdac.jpg resize: (1080, 1632) 1370658818 -5.36278911137978 treat image : temp/1751643149_1785845_1370658802_2edc34acdd3abae7c0b4dc6f8eabb578.jpg resize: (1080, 1632) 1370658802 -5.433256149360651 treat image : temp/1751643149_1785845_1370658797_2c77f3f9695d36ba05c257daf24238e7.jpg resize: (1080, 1632) 1370658797 -5.206358538938479 treat image : temp/1751643149_1785845_1370658789_a585f40631c5fef2b3e6f6841893f781.jpg resize: (1080, 1632) 1370658789 -6.011813335023047 treat image : temp/1751643149_1785845_1370658785_85fc7520b9392d55515f655171c4fb4e.jpg resize: (1080, 1632) 1370658785 -6.271317423215347 treat image : temp/1751643149_1785845_1370658780_c085df48cb55af113b33b61703355192.jpg resize: (1080, 1632) 1370658780 -5.788485358590448 treat image : temp/1751643149_1785845_1370658776_6d162685cd7d101aeea43f424eb7bdf4.jpg resize: (1080, 1632) 1370658776 -5.746136421184924 treat image : temp/1751643149_1785845_1370658773_95686e59d477a737ab9e88d2853028d5.jpg resize: (1080, 1632) 1370658773 -4.363014270998895 treat image : temp/1751643149_1785845_1370658768_29478e67b971e2ff0976c10059076c82.jpg resize: (1080, 1632) 1370658768 -4.353354516547371 treat image : temp/1751643149_1785845_1370658547_5bed961dd90d983b23321ec10db4bbce.jpg resize: (1080, 1632) 1370658547 -1.9737495764258108 treat image : temp/1751643149_1785845_1370658546_33294fdae7c811d6f50138d3d75d4777.jpg resize: (1080, 1632) 1370658546 -1.9737495764258108 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.013651132583618164 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.011959552764892578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014941930770874023 save missing photos in datou_result : time spend for datou_step_exec : 14.759869813919067 time spend to save output : 0.045781850814819336 total time spend for step 1 : 14.805651664733887 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.74user 3.70system 0:21.36elapsed 81%CPU (0avgtext+0avgdata 138348maxresident)k 152inputs+9056outputs (8major+248849minor)pagefaults 0swaps