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 : 497372 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 : 1099>100 please execute split_portfolio.py -i 20166663 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2538794'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/497372/ 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.1234254837036133 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 Feb 3 16: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/1738594950_497372_1334235351_67bd5071317da731b4a22ff5312f2e0e.jpg resize: (1080, 1632) 1334235351 -5.306067877261481 treat image : temp/1738594950_497372_1334235348_8cc3c28a8a4168d32f49073ff8a51939.jpg resize: (1080, 1632) 1334235348 -0.8490212886297509 treat image : temp/1738594950_497372_1334235344_6e8bb8d856325719b750c29ce0202a36.jpg resize: (1080, 1632) 1334235344 -1.6866359076711357 treat image : temp/1738594950_497372_1334235341_946b3645819eed9cbca70fdd878897e9.jpg resize: (1080, 1632) 1334235341 -3.6798738991948783 treat image : temp/1738594950_497372_1334235269_d318feec6900ac5a3af4ef906b9c3119.jpg resize: (1080, 1632) 1334235269 -2.63991637057926 treat image : temp/1738594950_497372_1334235263_3633a5361e8275b9dd1fc352d1f63fd6.jpg resize: (1080, 1632) 1334235263 -2.177961847723437 treat image : temp/1738594950_497372_1334235258_aaa0eebe036d02e073b411d2cfbf19e4.jpg resize: (1080, 1632) 1334235258 -4.500070914130301 treat image : temp/1738594950_497372_1334235253_9f393a970e499d51744f84e48d97ab13.jpg resize: (1080, 1632) 1334235253 -6.036746210170322 treat image : temp/1738594950_497372_1334235209_99de12545cbdd143330e474ba8bdb383.jpg resize: (1080, 1632) 1334235209 -5.921932680089867 treat image : temp/1738594950_497372_1334235206_7d2a5e0e9a31d1b3deaf63aedbc9fd7d.jpg resize: (1080, 1632) 1334235206 -5.097564139454894 treat image : temp/1738594950_497372_1334235202_3ab40e0b93493c86908201a71d52d64b.jpg resize: (1080, 1632) 1334235202 -4.263283129800959 treat image : temp/1738594950_497372_1334235200_d17c9329fd1706a5098fbb9405325a2c.jpg resize: (1080, 1632) 1334235200 -5.780738977582402 treat image : temp/1738594950_497372_1334235198_4b3839e3e10dedf20e6a350a815ace3e.jpg resize: (1080, 1632) 1334235198 -5.704785949670124 treat image : temp/1738594950_497372_1334235196_8df308f183e9539d4b6bafd0c5abc8f1.jpg resize: (1080, 1632) 1334235196 -5.580510986319932 treat image : temp/1738594950_497372_1334235171_3e15d4c86b97f96060fdb7cb81a0492f.jpg resize: (1080, 1632) 1334235171 -5.515366548972359 treat image : temp/1738594950_497372_1334235167_f952e5a4aa46469e5f1c13099f46b0a9.jpg resize: (1080, 1632) 1334235167 -6.027686132514222 treat image : temp/1738594950_497372_1334235164_e39d1064fd25108c9205b6aabc84d04c.jpg resize: (1080, 1632) 1334235164 -4.293630591292882 treat image : temp/1738594950_497372_1334235162_db263b2dd58c10c6ffa7faa2f65a0391.jpg resize: (1080, 1632) 1334235162 -6.042705206403771 treat image : temp/1738594950_497372_1334235160_b3d053b6faa1a476290970c46ad9159a.jpg resize: (1080, 1632) 1334235160 -6.100650151082769 treat image : temp/1738594950_497372_1334235159_518352724b0d4e4c37b241c5bbad6c83.jpg resize: (1080, 1632) 1334235159 -5.5180471694139674 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.012555360794067383 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.013259172439575195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014620304107666016 save missing photos in datou_result : time spend for datou_step_exec : 13.28721809387207 time spend to save output : 0.045660972595214844 total time spend for step 1 : 13.332879066467285 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 1.63system 0:19.57elapsed 81%CPU (0avgtext+0avgdata 137532maxresident)k 5544inputs+10232outputs (79major+118527minor)pagefaults 0swaps