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 : 1689814 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 : 2657>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/1689814/ 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.177284002304077 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 Wed Feb 5 02: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/1738717649_1689814_1334733110_b21f609d7b56855ca7ad56d078981037.jpg resize: (1080, 1632) 1334733110 -4.061655242999099 treat image : temp/1738717649_1689814_1334733109_4fd7fc2eaa12dd6c46dad52463b300d4.jpg resize: (1080, 1632) 1334733109 -0.5631884687709177 treat image : temp/1738717649_1689814_1334733108_285c7898345f9c369f36f57943665550.jpg resize: (1080, 1632) 1334733108 -2.072878250616034 treat image : temp/1738717649_1689814_1334733107_7becb593b57389dfd93a0164c0fb4378.jpg resize: (1080, 1632) 1334733107 -3.7934114402410533 treat image : temp/1738717649_1689814_1334733106_be50a8739cca166a8058cf646910ce9a.jpg resize: (1080, 1632) 1334733106 -5.96527269530013 treat image : temp/1738717649_1689814_1334733104_8d39d518c189b06d72b3ea1f5dd59b76.jpg resize: (1080, 1632) 1334733104 -5.67458405093858 treat image : temp/1738717649_1689814_1334733092_f8bf8da318addcf72a72471ae46cbf7f.jpg resize: (1080, 1632) 1334733092 -6.049823983886406 treat image : temp/1738717649_1689814_1334733089_5b1199857c0226a7849180eee178c9c7.jpg resize: (1080, 1632) 1334733089 -5.871642521191494 treat image : temp/1738717649_1689814_1334733083_509fba715aea523594e0f2b0429c1b9d.jpg resize: (1080, 1632) 1334733083 -5.353247280806855 treat image : temp/1738717649_1689814_1334733081_4462c262c93885b899c9ba9c2d074733.jpg resize: (1080, 1632) 1334733081 -5.392412566045793 treat image : temp/1738717649_1689814_1334733079_9331a449c84f3375a1831cfd80656a20.jpg resize: (1080, 1632) 1334733079 -5.303904218086799 treat image : temp/1738717649_1689814_1334733066_235e213d07cc2c92e3895f369294ede8.jpg resize: (1080, 1632) 1334733066 -5.762909637835766 treat image : temp/1738717649_1689814_1334733052_d1cea1bbd1dffe8f5b7f1516dd83b01d.jpg resize: (1080, 1632) 1334733052 -3.994955968788228 treat image : temp/1738717649_1689814_1334733051_0d54f0adb889e8a7cb842f4ed0054e1b.jpg resize: (1080, 1632) 1334733051 -3.994955968788228 treat image : temp/1738717649_1689814_1334733049_373a388f521fdd01ef9b5ff10b5e0a1d.jpg resize: (1080, 1632) 1334733049 -1.3386366556844016 treat image : temp/1738717649_1689814_1334733047_4da66db47a707bd3e8f8dc7122d28b74.jpg resize: (1080, 1632) 1334733047 -1.3386366556844016 treat image : temp/1738717649_1689814_1334733039_8f7c3e282fa30fbfb36d86a4147aea92.jpg resize: (1080, 1632) 1334733039 -2.779584777976144 treat image : temp/1738717649_1689814_1334733037_372427d78162bebe51d63d51799fe53c.jpg resize: (1080, 1632) 1334733037 -2.779584777976144 treat image : temp/1738717649_1689814_1334733035_fcc0f61343805caacd3948e80d20ea33.jpg resize: (1080, 1632) 1334733035 -3.405464737429299 treat image : temp/1738717649_1689814_1334733034_a2703dcecf065935b0136df1d7bca995.jpg resize: (1080, 1632) 1334733034 -3.405464737429299 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.013720989227294922 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.012011289596557617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013993501663208008 save missing photos in datou_result : time spend for datou_step_exec : 13.22080111503601 time spend to save output : 0.04469799995422363 total time spend for step 1 : 13.265499114990234 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 1.42system 0:19.09elapsed 81%CPU (0avgtext+0avgdata 138668maxresident)k 0inputs+9216outputs (29major+120078minor)pagefaults 0swaps