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 : 1313288 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 : 1195>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/1313288/ 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.2543387413024902 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 06:12:29 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/1747109547_1313288_1357769960_81270a1bae48f022736f5f1860388746.jpg resize: (1080, 1632) 1357769960 -1.1560709898141315 treat image : temp/1747109547_1313288_1357769958_aa31a9069793c0be98f151fbd6850efa.jpg resize: (1080, 1632) 1357769958 -4.249057292359911 treat image : temp/1747109547_1313288_1357769954_023bbf2df627c2b1e9d27415daf16934.jpg resize: (1080, 1632) 1357769954 -6.0228290035059775 treat image : temp/1747109547_1313288_1357769921_7462305f3cf967bb8e5427e9b92fd396.jpg resize: (1080, 1632) 1357769921 -5.707823619477523 treat image : temp/1747109547_1313288_1357769918_d0977dc98d675f2ecba383d3e8f37a4d.jpg resize: (1080, 1632) 1357769918 -5.61545644499868 treat image : temp/1747109547_1313288_1357769915_a736fd28107b6b820ad08b7630f84474.jpg resize: (1080, 1632) 1357769915 -5.6413147235042675 treat image : temp/1747109547_1313288_1357769913_829e3f2828ce60d1cee140dbdb5d5406.jpg resize: (1080, 1632) 1357769913 -6.0230646204133125 treat image : temp/1747109547_1313288_1357769911_d16e6976451b9be0a0b6572f2c1c1fb1.jpg resize: (1080, 1632) 1357769911 -5.362396807791281 treat image : temp/1747109547_1313288_1357769908_f69ef15925cee8631b78c6f45137c9f6.jpg resize: (1080, 1632) 1357769908 -4.666083020654057 treat image : temp/1747109547_1313288_1357769891_251a150ab6674f0e6e03860d7f00fd87.jpg resize: (1080, 1632) 1357769891 -0.9889377768781251 treat image : temp/1747109547_1313288_1357769888_7b6add49516252216180461eb94d0bd5.jpg resize: (1080, 1632) 1357769888 -3.433122288678796 treat image : temp/1747109547_1313288_1357769886_83ecbf60a01c47b5128ffcea963f568a.jpg resize: (1080, 1632) 1357769886 -5.935558038278399 treat image : temp/1747109547_1313288_1357769883_c134f6036255653737247fb574d131b3.jpg resize: (1080, 1632) 1357769883 -5.403308985584651 treat image : temp/1747109547_1313288_1357769880_def8b0522afb526dfa5db652efe66b09.jpg resize: (1080, 1632) 1357769880 -3.5144751463993718 treat image : temp/1747109547_1313288_1357769861_3e8c531faf8b12bafa1c3e065c724e0a.jpg resize: (1080, 1632) 1357769861 -4.875934262741475 treat image : temp/1747109547_1313288_1357769859_4bb282a3ff3a6d389c62ab290c27bd2a.jpg resize: (1080, 1632) 1357769859 -3.5143945160956647 treat image : temp/1747109547_1313288_1357769858_035800063210def4db9ad17f95c237e7.jpg resize: (1080, 1632) 1357769858 -1.1283690783649234 treat image : temp/1747109547_1313288_1357769857_656e49ff379b4ac5714dcc7fa0b8ce2f.jpg resize: (1080, 1632) 1357769857 -2.479149513528399 treat image : temp/1747109547_1313288_1357769856_e74701855e813e70349a9155caa50ce1.jpg resize: (1080, 1632) 1357769856 -2.383005435769583 treat image : temp/1747109547_1313288_1357769835_706dce11aa8b62e4bc16a1cdbb68c681.jpg resize: (1080, 1632) 1357769835 -1.5976198312946421 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.018543243408203125 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.013965845108032227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019941329956054688 save missing photos in datou_result : time spend for datou_step_exec : 16.756818056106567 time spend to save output : 0.05757856369018555 total time spend for step 1 : 16.814396619796753 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 5.12system 0:21.02elapsed 94%CPU (0avgtext+0avgdata 139224maxresident)k 2464inputs+9168outputs (12major+251746minor)pagefaults 0swaps