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 : 3466977 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 : 2538>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/3466977/ 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.28035306930542 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 16:47: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/1747147647_3466977_1357863564_7b5ffaa119809e85008117ce7a25a134.jpg resize: (1080, 1632) 1357863564 -6.840839815279554 treat image : temp/1747147647_3466977_1357863561_9e98574d117fee42d4a066ac5f6b1f6b.jpg resize: (1080, 1632) 1357863561 -6.533517241563156 treat image : temp/1747147647_3466977_1357863558_d36a4c38b2db06ae61b0047f1e29c32f.jpg resize: (1080, 1632) 1357863558 -1.5550512593673012 treat image : temp/1747147647_3466977_1357863555_0fe39fc4d06069425902a9621dd61901.jpg resize: (1080, 1632) 1357863555 -1.0473115930188792 treat image : temp/1747147647_3466977_1357863522_46784f25da6838fcd92b219639c04fe1.jpg resize: (1080, 1632) 1357863522 -6.489385390467047 treat image : temp/1747147647_3466977_1357863519_6c748fd49d1983bdb167663e4e764e8b.jpg resize: (1080, 1632) 1357863519 -6.63398161194128 treat image : temp/1747147647_3466977_1357863516_279d7c8cbd9a9f3cba20b5406b88a255.jpg resize: (1080, 1632) 1357863516 -6.435604032952075 treat image : temp/1747147647_3466977_1357863513_78cf84b282f775aca9b08db5bff45de7.jpg resize: (1080, 1632) 1357863513 -6.342463386523456 treat image : temp/1747147647_3466977_1357863509_92d432edb181018cc422b62242f74b6f.jpg resize: (1080, 1632) 1357863509 -6.337904259557352 treat image : temp/1747147647_3466977_1357863468_69060df38474bb0bde6b392c2f2a8062.jpg resize: (1080, 1632) 1357863468 -1.0998510199242766 treat image : temp/1747147647_3466977_1357863466_2ac0f412e4e519f405dd1356eaf97016.jpg resize: (1080, 1632) 1357863466 -1.195035155275734 treat image : temp/1747147647_3466977_1357863464_4747a6cf5eaedc245aff9740d5bc1a53.jpg resize: (1080, 1632) 1357863464 -4.531722177192823 treat image : temp/1747147647_3466977_1357863426_6d002aebfadf0dba6520b17590dc36b3.jpg resize: (1080, 1632) 1357863426 -6.346033678223048 treat image : temp/1747147647_3466977_1357863422_28e8b3c6e3f7eed5358864f9e8f5798b.jpg resize: (1080, 1632) 1357863422 -4.702828315103897 treat image : temp/1747147647_3466977_1357863418_69726677326699534d0102137b4e76bc.jpg resize: (1080, 1632) 1357863418 -4.822253848195374 treat image : temp/1747147647_3466977_1357863415_b90076af460fc81215775fbc86d3be53.jpg resize: (1080, 1632) 1357863415 -5.943304444805351 treat image : temp/1747147647_3466977_1357863411_adc0147275d097cfb0f938c9c5c4d0f0.jpg resize: (1080, 1632) 1357863411 -5.037487277519696 treat image : temp/1747147647_3466977_1357863407_f7f5b6ed97a6e472831f846691f12183.jpg resize: (1080, 1632) 1357863407 -5.943937415651557 treat image : temp/1747147647_3466977_1357863362_1220b16b3cd1b4ee0102350ce7522947.jpg resize: (1080, 1632) 1357863362 -5.974685523098361 treat image : temp/1747147647_3466977_1357863360_2d87a561776102ed593e802924179426.jpg resize: (1080, 1632) 1357863360 -1.8642214081316768 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.013473033905029297 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.013952016830444336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022343158721923828 save missing photos in datou_result : time spend for datou_step_exec : 17.53153705596924 time spend to save output : 0.0552363395690918 total time spend for step 1 : 17.58677339553833 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.28user 4.76system 0:21.87elapsed 91%CPU (0avgtext+0avgdata 139744maxresident)k 168inputs+10816outputs (0major+259195minor)pagefaults 0swaps