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 : 1843171 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 : 773>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1843171/ 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.2705769538879395 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 14 08:02:30 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/1747202547_1843171_1358100438_151a2126a44ca9d8e11cefad868f5d1a.jpg resize: (1080, 1632) 1358100438 -3.018052351316934 treat image : temp/1747202547_1843171_1358100431_0a69d662d22ba927adb693e1cec8e9fc.jpg resize: (1080, 1632) 1358100431 -4.1112388447912736 treat image : temp/1747202547_1843171_1358100426_88741a9fc389e7f2bd70a28d3f68cd3e.jpg resize: (1080, 1632) 1358100426 -5.382745098795683 treat image : temp/1747202547_1843171_1358100423_4a2f64f3253ec5caebe64f6882d433bf.jpg resize: (1080, 1632) 1358100423 -1.6590776172111934 treat image : temp/1747202547_1843171_1358100416_7fcba04572be70b505fb00ad3407ed54.jpg resize: (1080, 1632) 1358100416 -1.4233658637584927 treat image : temp/1747202547_1843171_1358100412_9f4688fce9f03feeb03bf517296bf0bf.jpg resize: (1080, 1632) 1358100412 -6.28887424959569 treat image : temp/1747202547_1843171_1358100392_06df0f8bb0ff632b614f77b32cbd5e6b.jpg resize: (1080, 1632) 1358100392 -2.6533676043214456 treat image : temp/1747202547_1843171_1358100387_b44e0bd7095bba29b478f78e0532bfe4.jpg resize: (1080, 1632) 1358100387 -5.827720008789052 treat image : temp/1747202547_1843171_1358100385_3f0f00d42e0375f446c9cdef5f801615.jpg resize: (1080, 1632) 1358100385 -5.436989857040285 treat image : temp/1747202547_1843171_1358100382_413621e578038127640ee7518f5effbd.jpg resize: (1080, 1632) 1358100382 -5.34824702234651 treat image : temp/1747202547_1843171_1358100380_9574635d881bd50769f6bd8d34b3bafb.jpg resize: (1080, 1632) 1358100380 -5.158077152826148 treat image : temp/1747202547_1843171_1358100378_853dda15ad0b93cb7f1d2ddcf34d4c52.jpg resize: (1080, 1632) 1358100378 -5.362138398453738 treat image : temp/1747202547_1843171_1358100357_812d0e48b48093daeb222dfec716dbd7.jpg resize: (1080, 1632) 1358100357 -5.553758106070702 treat image : temp/1747202547_1843171_1358100352_8a640f67b1870107a01f5472060d0dee.jpg resize: (1080, 1632) 1358100352 -3.484394538376767 treat image : temp/1747202547_1843171_1358100345_41e2e9d3f730545c267c5ddc6a52abd0.jpg resize: (1080, 1632) 1358100345 -2.0192409192323764 treat image : temp/1747202547_1843171_1358100340_727ed12d70fea1049f5dc715d0496f7d.jpg resize: (1080, 1632) 1358100340 -1.3951159459548375 treat image : temp/1747202547_1843171_1358100293_541a34348df0070d21b2446bc94e1974.jpg resize: (1080, 1632) 1358100293 -5.34318991653728 treat image : temp/1747202547_1843171_1358100290_dd37fa0f52c2e4a856e6369e254606fc.jpg resize: (1080, 1632) 1358100290 -4.898827837592693 treat image : temp/1747202547_1843171_1358100288_8525cbd37dc3cc341b4f588f859c6ee6.jpg resize: (1080, 1632) 1358100288 -4.960872391042377 treat image : temp/1747202547_1843171_1358100284_b3bdbf33732ccdd88f8ccf0c3af63850.jpg resize: (1080, 1632) 1358100284 -5.430033483057373 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.01667499542236328 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.15162134170532227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2639119625091553 save missing photos in datou_result : time spend for datou_step_exec : 17.381601333618164 time spend to save output : 0.4374580383300781 total time spend for step 1 : 17.819059371948242 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.23user 4.72system 0:22.79elapsed 87%CPU (0avgtext+0avgdata 140148maxresident)k 2704inputs+9360outputs (33major+254760minor)pagefaults 0swaps