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 : 3930497 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 : 2940>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/3930497/ 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.626168727874756 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 19:02:32 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/1747155749_3930497_1357883975_b97aeacde665e5c83b49574d521a2500.jpg resize: (1080, 1632) 1357883975 -5.385538730232493 treat image : temp/1747155749_3930497_1357875419_2ed90e1c424cf614c0186514935e9f7e.jpg resize: (1080, 1632) 1357875419 -6.01013069426628 treat image : temp/1747155749_3930497_1357875417_0f54d7e078599471c550c0ee3c4bac47.jpg resize: (1080, 1632) 1357875417 -4.676865466184847 treat image : temp/1747155749_3930497_1357875414_dcd098ca3ba8008fd9df03c3960b9665.jpg resize: (1080, 1632) 1357875414 -6.15415308991824 treat image : temp/1747155749_3930497_1357875411_316948f8c5648aadbad2cb6b6517ab5f.jpg resize: (1080, 1632) 1357875411 -6.248032443546769 treat image : temp/1747155749_3930497_1357875407_933a340df2468289c87a0e0d3e2d3897.jpg resize: (1080, 1632) 1357875407 -6.461799813463724 treat image : temp/1747155749_3930497_1357874465_7345a47930c05066ba6a3dc063d66b12.jpg resize: (1080, 1632) 1357874465 -3.2307760680846074 treat image : temp/1747155749_3930497_1357874463_fb3b88a9322a6c729d1107866bb0f892.jpg resize: (1080, 1632) 1357874463 -5.689771241275307 treat image : temp/1747155749_3930497_1357874459_7d01d9c7a0ac4461c59168b60a319d42.jpg resize: (1080, 1632) 1357874459 -2.971026995379611 treat image : temp/1747155749_3930497_1357874456_966c038d71022db7ad09ac8db35efd31.jpg resize: (1080, 1632) 1357874456 -5.841955991298669 treat image : temp/1747155749_3930497_1357870712_c51e6420b347b9f115e443ab8cabdc66.jpg resize: (1080, 1632) 1357870712 -0.8711713036939044 treat image : temp/1747155749_3930497_1357870684_107858cd42df05fe1a0f9fd862f76a8b.jpg resize: (1080, 1632) 1357870684 -1.8531471563520339 treat image : temp/1747155749_3930497_1357870653_7953914ac9a2f419a1a0225baa33cf59.jpg resize: (1080, 1632) 1357870653 -5.990159532335381 treat image : temp/1747155749_3930497_1357870577_f5091f6be7e167b10e31c33ffabd6587.jpg resize: (1080, 1632) 1357870577 -5.5665514943520265 treat image : temp/1747155749_3930497_1357870571_55a8014d1c5ccfa3d6f76fa5369127cf.jpg resize: (1080, 1632) 1357870571 -4.2875399795943885 treat image : temp/1747155749_3930497_1357859408_c1e84268ced5113a108faf25f3db85c1.jpg resize: (1080, 1632) 1357859408 -5.912913975695881 treat image : temp/1747155749_3930497_1357859376_fa0119daa6370c9eca0a3d2273200662.jpg resize: (1080, 1632) 1357859376 -5.900735179943458 treat image : temp/1747155749_3930497_1357859323_ef89d9f73c2e6c87747d686226866b16.jpg resize: (1080, 1632) 1357859323 -5.107188658848634 treat image : temp/1747155749_3930497_1357858543_7b18885d7a625cfcae4d7164649fcc84.jpg resize: (1080, 1632) 1357858543 -1.4352331723136487 treat image : temp/1747155749_3930497_1357858496_58ce3c46b51d6f7c664fed0ece5d25a1.jpg resize: (1080, 1632) 1357858496 -3.999499988556104 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.014436721801757812 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.011999130249023438 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014903545379638672 save missing photos in datou_result : time spend for datou_step_exec : 17.816422939300537 time spend to save output : 0.04609227180480957 total time spend for step 1 : 17.862515211105347 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.95user 4.53system 0:23.46elapsed 83%CPU (0avgtext+0avgdata 138964maxresident)k 352inputs+10184outputs (12major+258027minor)pagefaults 0swaps