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 : 919465 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 : 332>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/919465/ 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.3854165077209473 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 06:22: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/1747023748_919465_1357599241_8a54f28045cdec86a66240fa2f520db4.jpg resize: (1080, 1632) 1357599241 -6.359690824377524 treat image : temp/1747023748_919465_1357599240_ee2cdd25e442920a7ceef274dd6d01ab.jpg resize: (1080, 1632) 1357599240 -3.7638682723045913 treat image : temp/1747023748_919465_1357599239_b793a8b0b96f5f3fd923c230bbc2c035.jpg resize: (1080, 1632) 1357599239 -1.4169206613814675 treat image : temp/1747023748_919465_1357599200_1c04f5d70a75f0de99ea300c8ed1c37e.jpg resize: (1080, 1632) 1357599200 -6.254091549325789 treat image : temp/1747023748_919465_1357599198_bf0e9c0ca9899b7b7b6b286872a222dc.jpg resize: (1080, 1632) 1357599198 -5.489868971974655 treat image : temp/1747023748_919465_1357599197_608187082d0fc11339eaa18462f7997c.jpg resize: (1080, 1632) 1357599197 -4.770892102114908 treat image : temp/1747023748_919465_1357599196_8a639a9f1bb143690f180fdc7e68cb78.jpg resize: (1080, 1632) 1357599196 -2.6862688077364685 treat image : temp/1747023748_919465_1357599194_a62e164b0e2f39cf81793e67d124aad9.jpg resize: (1080, 1632) 1357599194 -6.219187203120134 treat image : temp/1747023748_919465_1357599189_e223c343d31c6e683cc07352b8f1fb71.jpg resize: (1080, 1632) 1357599189 -3.281188125795967 treat image : temp/1747023748_919465_1357599142_1249002f107cce9cf8ed51bc480412d7.jpg resize: (1080, 1632) 1357599142 -1.821358516120666 treat image : temp/1747023748_919465_1357599141_0a87065201f54035ec7e7e5376d81719.jpg resize: (1080, 1632) 1357599141 -1.0644036841938975 treat image : temp/1747023748_919465_1357599140_54af7011f4424f253702d1e0952234f6.jpg resize: (1080, 1632) 1357599140 -5.559032001992446 treat image : temp/1747023748_919465_1357599138_34158f89f32361b4b92dc8a286e78cff.jpg resize: (1080, 1632) 1357599138 -6.00185646001122 treat image : temp/1747023748_919465_1357599137_0cbf74cbbc6ee706705bfbdd70b5a0cc.jpg resize: (1080, 1632) 1357599137 -6.350116490891784 treat image : temp/1747023748_919465_1357599102_4fc48dc8699cad3f0af436ee795f7c5f.jpg resize: (1080, 1632) 1357599102 -5.2835881063018695 treat image : temp/1747023748_919465_1357599101_d0bf122274a4d9019b6ffb034dd9421b.jpg resize: (1080, 1632) 1357599101 -5.500839665472973 treat image : temp/1747023748_919465_1357599100_1cfaa4d14d3daa41e9d8175420b38129.jpg resize: (1080, 1632) 1357599100 -5.492786886656987 treat image : temp/1747023748_919465_1357599099_2adb5d840170f547a46ca615efea952b.jpg resize: (1080, 1632) 1357599099 -2.9552930159427424 treat image : temp/1747023748_919465_1357599098_ab92eef51c59609cedaedbb9a05913a6.jpg resize: (1080, 1632) 1357599098 -0.8496990470899756 treat image : temp/1747023748_919465_1357599069_ab18102a2357744754c53a45187e000c.jpg resize: (1080, 1632) 1357599069 -3.3267850410341255 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.013561248779296875 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.013361454010009766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015598535537719727 save missing photos in datou_result : time spend for datou_step_exec : 16.472848415374756 time spend to save output : 0.04730701446533203 total time spend for step 1 : 16.520155429840088 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.15user 4.55system 0:21.36elapsed 87%CPU (0avgtext+0avgdata 141112maxresident)k 152inputs+9760outputs (15major+264574minor)pagefaults 0swaps