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 : 1857753 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 : 1304>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1857753/ 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.394726276397705 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 Mon May 12 11: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/1747040547_1857753_1357616926_b959ec5222d245dc6d52fad0e8539bc3.jpg resize: (1080, 1632) 1357616926 -6.0057871217405605 treat image : temp/1747040547_1857753_1357616922_4ddbbbb4b084b955c618379e172c6c1b.jpg resize: (1080, 1632) 1357616922 -6.063416548048742 treat image : temp/1747040547_1857753_1357616916_84fe768b4703bbc7a0bafdba6bb34a0f.jpg resize: (1080, 1632) 1357616916 -4.7099251388493295 treat image : temp/1747040547_1857753_1357616910_6292e584fa1c9411add4f8b828f5f8fa.jpg resize: (1080, 1632) 1357616910 -5.982259855656652 treat image : temp/1747040547_1857753_1357616856_cf7fc516003bee2bf5c689dfa6dd41db.jpg resize: (1080, 1632) 1357616856 -1.4041563853760168 treat image : temp/1747040547_1857753_1357616854_b0a165232c029b3aba5e8a7d1b1bd9ec.jpg resize: (1080, 1632) 1357616854 -5.897480147787121 treat image : temp/1747040547_1857753_1357616851_6d44d2774c3aa5da2c79081bad63990a.jpg resize: (1080, 1632) 1357616851 -3.9183166735670634 treat image : temp/1747040547_1857753_1357616846_85c6b813edb4bbd5b105d449e16ae099.jpg resize: (1080, 1632) 1357616846 -3.588459350448851 treat image : temp/1747040547_1857753_1357616841_6f753c4a47bddc8db397e2bdd389704d.jpg resize: (1080, 1632) 1357616841 -5.724886467228976 treat image : temp/1747040547_1857753_1357616822_1fbab2e0c810bc7e9d94eae02e49e2de.jpg resize: (1080, 1632) 1357616822 -5.1281160885872366 treat image : temp/1747040547_1857753_1357616815_e153c82a17166f308fea4eab777c2f7f.jpg resize: (1080, 1632) 1357616815 -3.020935649876168 treat image : temp/1747040547_1857753_1357616806_c6c3fa0a2616ae76db5090eb340e02b3.jpg resize: (1080, 1632) 1357616806 -5.440625344617863 treat image : temp/1747040547_1857753_1357616801_3757771d40b92b9bfb3e81746a094305.jpg resize: (1080, 1632) 1357616801 -3.768880532901754 treat image : temp/1747040547_1857753_1357616766_32142477cc48eaf0826f64ee7207fbd1.jpg resize: (1080, 1632) 1357616766 -2.7436146876559544 treat image : temp/1747040547_1857753_1357616764_55f6b33bc49106e95a226130ffa2b6b8.jpg resize: (1080, 1632) 1357616764 -5.094721366029259 treat image : temp/1747040547_1857753_1357616757_eadb28a7c450c114c7ecabf562fb12e9.jpg resize: (1080, 1632) 1357616757 -4.077175472329582 treat image : temp/1747040547_1857753_1357616755_efc0aee85da2b51cdb5e9dbaea6dc7d6.jpg resize: (1080, 1632) 1357616755 -4.053644823235491 treat image : temp/1747040547_1857753_1357616752_ac5ad0dac21e0afd2443f401766ba905.jpg resize: (1080, 1632) 1357616752 -5.649315955758509 treat image : temp/1747040547_1857753_1357616748_ba8b666f6a4a1da9d8d11cb116492137.jpg resize: (1080, 1632) 1357616748 -5.567038287270857 treat image : temp/1747040547_1857753_1357616533_407059ab924b48deac2da80473e77134.jpg resize: (1080, 1632) 1357616533 -5.433525330441699 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.012745380401611328 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.012929201126098633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013862371444702148 save missing photos in datou_result : time spend for datou_step_exec : 18.269524574279785 time spend to save output : 0.044439077377319336 total time spend for step 1 : 18.313963651657104 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.47user 5.34system 0:23.25elapsed 89%CPU (0avgtext+0avgdata 139512maxresident)k 2816inputs+9912outputs (12major+238347minor)pagefaults 0swaps