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 : 443775 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 : 2166>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/443775/ 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 : 1.9789283275604248 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 Sat Mar 22 09:52:27 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/1742633545_443775_1346374874_e6359cd3d865c040a8ca7f4ce497751b.jpg resize: (1080, 1632) 1346374874 -5.054146211206901 treat image : temp/1742633545_443775_1346374869_e6cf8d7972dd8eb76771aa9dda800eab.jpg resize: (1080, 1632) 1346374869 -5.969016302052426 treat image : temp/1742633545_443775_1346374864_a24c63fa92023070ecdc08e6181b8e1b.jpg resize: (1080, 1632) 1346374864 -5.044683481633931 treat image : temp/1742633545_443775_1346374860_6f534ec587e773b3d9dae46609fdf766.jpg resize: (1080, 1632) 1346374860 -5.00040254140192 treat image : temp/1742633545_443775_1346374857_a95aa294d39fe49ee9dd8b1086a01cdd.jpg resize: (1080, 1632) 1346374857 -4.97650379318388 treat image : temp/1742633545_443775_1346374853_e3221c945d8f50d96decf141a052965a.jpg resize: (1080, 1632) 1346374853 -5.187971191848164 treat image : temp/1742633545_443775_1346374847_5ca706ea924c1501c8c2b107daa75cb8.jpg resize: (1080, 1632) 1346374847 -5.308196013737605 treat image : temp/1742633545_443775_1346374844_f86ec48126def4d021b7580e47330735.jpg resize: (1080, 1632) 1346374844 -6.198938784133591 treat image : temp/1742633545_443775_1346374837_4cd9ddf809994e7747cdd4a8825ed4c9.jpg resize: (1080, 1632) 1346374837 -4.752023713338929 treat image : temp/1742633545_443775_1346374832_7dfd76be52ca1ca4b74c94b8c46bed7c.jpg resize: (1080, 1632) 1346374832 -5.294470928692385 treat image : temp/1742633545_443775_1346374828_48655fd339251779bbd7cbb41f5a6863.jpg resize: (1080, 1632) 1346374828 -4.912310489125273 treat image : temp/1742633545_443775_1346374825_726ca3f369b37d543d38d61e04726d7e.jpg resize: (1080, 1632) 1346374825 -2.133375551993203 treat image : temp/1742633545_443775_1346374811_45d49ed0a650c15e73acf7f2dac45595.jpg resize: (1080, 1632) 1346374811 -3.19495670295492 treat image : temp/1742633545_443775_1346374807_ea2e54c89bd04e4029fd69a1f7cf6973.jpg resize: (1080, 1632) 1346374807 -3.157679999643259 treat image : temp/1742633545_443775_1346374799_fc949936a7697df43f1debc5ffda4ab7.jpg resize: (1080, 1632) 1346374799 -6.0166566391772855 treat image : temp/1742633545_443775_1346374791_4f85245b817a315d6cf2d6a6d4e443f3.jpg resize: (1080, 1632) 1346374791 -5.575238467866242 treat image : temp/1742633545_443775_1346374788_74eedd25a39aac55c0fa7162cdf12485.jpg resize: (1080, 1632) 1346374788 -6.079388466896275 treat image : temp/1742633545_443775_1346374784_cf58e3bb3b1af9c16d970a7143ad31c3.jpg resize: (1080, 1632) 1346374784 -5.183182252328406 treat image : temp/1742633545_443775_1346374677_98a88745f1e7c5c8658e1b3b9f8d91f1.jpg resize: (1080, 1632) 1346374677 -3.511922412607549 treat image : temp/1742633545_443775_1346374673_9910ec0ad0a9e6da5395db80fef50809.jpg resize: (1080, 1632) 1346374673 -3.511922412607549 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.013564586639404297 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.012969255447387695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016982316970825195 save missing photos in datou_result : time spend for datou_step_exec : 14.562551498413086 time spend to save output : 0.04841303825378418 total time spend for step 1 : 14.61096453666687 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.01user 3.11system 0:18.37elapsed 93%CPU (0avgtext+0avgdata 140320maxresident)k 128inputs+10280outputs (1major+227680minor)pagefaults 0swaps