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 : 2201469 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 : 1277>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2201469/ 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.1578428745269775 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 May 21 10:37: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/1747816647_2201469_1359993731_fa5965f5827e6397f759b6877c8a9d6b.jpg resize: (1080, 1632) 1359993731 -5.910325900476701 treat image : temp/1747816647_2201469_1359993706_603af3b8bb420f885c8d46de16c717ad.jpg resize: (1080, 1632) 1359993706 -5.758583557621322 treat image : temp/1747816647_2201469_1359993683_0510728cf682ddbca4a83b4b50ede3ff.jpg resize: (1080, 1632) 1359993683 -5.772322550377628 treat image : temp/1747816647_2201469_1359993656_bf1a6562157899c1f9094b8f72c334a5.jpg resize: (1080, 1632) 1359993656 -5.321715878828669 treat image : temp/1747816647_2201469_1359993298_0bdbc06c050f3821f879b8b643bf4ad6.jpg resize: (1080, 1632) 1359993298 -5.910063678587674 treat image : temp/1747816647_2201469_1359993295_1ed30e63ce57366de777c16944079049.jpg resize: (1080, 1632) 1359993295 -6.065213139229384 treat image : temp/1747816647_2201469_1359993291_072b001f8458fb0eeb6dc317f895bcc0.jpg resize: (1080, 1632) 1359993291 -4.549932846206757 treat image : temp/1747816647_2201469_1359993274_ba41128f3c72d9ec4fd816c1e5bf39fd.jpg resize: (1080, 1632) 1359993274 -5.5976912744384935 treat image : temp/1747816647_2201469_1359993246_febd6671dd3c1632e2c708fe71e3b45f.jpg resize: (1080, 1632) 1359993246 -5.028479508888725 treat image : temp/1747816647_2201469_1359993212_0cff8f827f1cefbb3b1881588da28135.jpg resize: (1080, 1632) 1359993212 -4.521176579954858 treat image : temp/1747816647_2201469_1359992956_d85f1551f9555f3a9dcea79839c4c3be.jpg resize: (1080, 1632) 1359992956 -4.2132841979178215 treat image : temp/1747816647_2201469_1359992919_ac553958e4da583dba5ab64032d29869.jpg resize: (1080, 1632) 1359992919 -4.665236208333788 treat image : temp/1747816647_2201469_1359992566_b2bb1eeddc98ca2898a75f68bba97d3a.jpg resize: (1080, 1632) 1359992566 -1.5024317724829055 treat image : temp/1747816647_2201469_1359992533_799fe8fb903c296f71f36516692e2907.jpg resize: (1080, 1632) 1359992533 -1.6695469030844432 treat image : temp/1747816647_2201469_1359992529_483a0a26f191bcc9dc8c3230329b44ba.jpg resize: (1080, 1632) 1359992529 -2.441502306019324 treat image : temp/1747816647_2201469_1359992525_fa7bbce92ec3d12f6332f75feb7081d7.jpg resize: (1080, 1632) 1359992525 -1.0994592632204605 treat image : temp/1747816647_2201469_1359991514_d0adea6cbd77387b89882485c8519e87.jpg resize: (1080, 1632) 1359991514 -2.660622600600679 treat image : temp/1747816647_2201469_1359991502_9cb1100d225c37a04d2c344e1f5783c3.jpg resize: (1080, 1632) 1359991502 -4.782808341961994 treat image : temp/1747816647_2201469_1359991494_267b01a41d0912a57cca3f46c794bb4f.jpg resize: (1080, 1632) 1359991494 -4.245147922341616 treat image : temp/1747816647_2201469_1359991316_159747a367b17b0d427795948e2b771d.jpg resize: (1080, 1632) 1359991316 -3.4126003442488795 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.014735221862792969 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.017440080642700195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019404172897338867 save missing photos in datou_result : time spend for datou_step_exec : 16.850645780563354 time spend to save output : 0.05681157112121582 total time spend for step 1 : 16.90745735168457 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 4.46system 0:20.97elapsed 92%CPU (0avgtext+0avgdata 137648maxresident)k 168inputs+9256outputs (19major+259193minor)pagefaults 0swaps