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 : 405216 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 : 257>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/405216/ 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.493605375289917 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 13 01:07: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/1747091248_405216_1357753209_fc2d9de1ada49ff77055a55179f2c987.jpg resize: (1080, 1632) 1357753209 -6.075725670042483 treat image : temp/1747091248_405216_1357753206_32bf92ce6c229f2d745c1f617154eb24.jpg resize: (1080, 1632) 1357753206 -4.786132027043075 treat image : temp/1747091248_405216_1357753202_b0d9cfac9541c75153eb62a9e0868a07.jpg resize: (1080, 1632) 1357753202 -6.023991127336709 treat image : temp/1747091248_405216_1357753045_6dd3a9a19a206c9f26605180656095e7.jpg resize: (1080, 1632) 1357753045 -5.45697152501116 treat image : temp/1747091248_405216_1357753043_7abd2c17a01b2af9448b5a6025dca3fd.jpg resize: (1080, 1632) 1357753043 -5.9440862267174746 treat image : temp/1747091248_405216_1357753025_0248452bbd64557b88329822304c1306.jpg resize: (1080, 1632) 1357753025 -5.300229305132458 treat image : temp/1747091248_405216_1357753021_42f6e2157f3f52b88fc13c2b1cfe9ec4.jpg resize: (1080, 1632) 1357753021 -2.2603322042320366 treat image : temp/1747091248_405216_1357753019_c10bf83f39067ca298950249662c3c07.jpg resize: (1080, 1632) 1357753019 -0.43342950561742216 treat image : temp/1747091248_405216_1357753017_12112482f049a4aeb4594904e4fdfbd8.jpg resize: (1080, 1632) 1357753017 -3.280243889075139 treat image : temp/1747091248_405216_1357753014_2bc6e134d7d0a41370ea4914fe0643b0.jpg resize: (1080, 1632) 1357753014 -3.463127164010897 treat image : temp/1747091248_405216_1357752987_dd68140a0e81afb2265aa1f3a534a566.jpg resize: (1080, 1632) 1357752987 -5.538176527823383 treat image : temp/1747091248_405216_1357752985_89bb3d3f140de80b1158a37a81dac3e4.jpg resize: (1080, 1632) 1357752985 -5.800716820295222 treat image : temp/1747091248_405216_1357752982_26c5efb1bfcedbbaec45aa87da6c0b51.jpg resize: (1080, 1632) 1357752982 -5.164658855021322 treat image : temp/1747091248_405216_1357752963_7210b7fb12bf19df0f6c9a778bc56052.jpg resize: (1080, 1632) 1357752963 -5.175585999978649 treat image : temp/1747091248_405216_1357752962_ba0db9f191bd4352c8fac61bac70d4ae.jpg resize: (1080, 1632) 1357752962 -3.005523332492095 treat image : temp/1747091248_405216_1357752961_48dbc64dee76b23c2ed44bba2248bab8.jpg resize: (1080, 1632) 1357752961 -5.582677683743195 treat image : temp/1747091248_405216_1357752960_43dd9016b5884bae318988a370a7bd75.jpg resize: (1080, 1632) 1357752960 -5.813975156805709 treat image : temp/1747091248_405216_1357752958_921b3d52315add8853030dfa74a851f3.jpg resize: (1080, 1632) 1357752958 -5.931474036761562 treat image : temp/1747091248_405216_1357752933_344edb9f8fcfea064dc3c8d13ea2931b.jpg resize: (1080, 1632) 1357752933 -2.101414206858945 treat image : temp/1747091248_405216_1357752932_5d4d98c83c3c3ca0480c30f7b84d6b30.jpg resize: (1080, 1632) 1357752932 -3.617269607252987 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.016063928604125977 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.219743013381958 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.17387652397155762 save missing photos in datou_result : time spend for datou_step_exec : 15.790729522705078 time spend to save output : 0.4147365093231201 total time spend for step 1 : 16.2054660320282 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 3.92system 0:22.27elapsed 82%CPU (0avgtext+0avgdata 138920maxresident)k 152inputs+9712outputs (2major+263363minor)pagefaults 0swaps