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 : 758687 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/758687/ 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 : 3.2838964462280273 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 Wed Mar 26 03:07:31 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/1742954847_758687_1333362543_1cade2c5f86bc6391d2e9b716e6f8774.jpg resize: (1080, 1632) 1333362543 4.861900269832406 treat image : temp/1742954847_758687_1333362537_83b2bb899869a019bd7cdbc169730f5d.jpg resize: (1080, 1632) 1333362537 0.8525900460342974 treat image : temp/1742954847_758687_1333362532_8728a6401d5896310ed0c3e1cb478f97.jpg resize: (1080, 1632) 1333362532 4.843899884348294 treat image : temp/1742954847_758687_1333362462_e1d496d7854b2dbb51ad5f4d70fb52b1.jpg resize: (1080, 1632) 1333362462 4.730259359046124 treat image : temp/1742954847_758687_1333362458_0a3edd9635dcac059df7b7612a4421d4.jpg resize: (1080, 1632) 1333362458 3.408800184909215 treat image : temp/1742954847_758687_1333362455_7a900ba4c81028700a041f03ea6f29c7.jpg resize: (1080, 1632) 1333362455 4.035873273852664 treat image : temp/1742954847_758687_1333362449_5a961bc39be0800139b89da94914cf61.jpg resize: (1080, 1632) 1333362449 4.391535864557374 treat image : temp/1742954847_758687_1333362442_37ce1fb73d3f033af9cb0f35e070d3f0.jpg resize: (1080, 1632) 1333362442 5.136262263313554 treat image : temp/1742954847_758687_1333362384_0c350525ccf383d0c12748fcaaae94e2.jpg resize: (1080, 1632) 1333362384 5.469039078102074 treat image : temp/1742954847_758687_1333362230_37b3232c5d9707ab4ad48ae645bc666e.jpg resize: (1080, 1632) 1333362230 3.6842351481566604 treat image : temp/1742954847_758687_1333362170_bf4e6997bab0cf41f89a8346ee11bc1d.jpg resize: (1080, 1632) 1333362170 2.5212891842373213 treat image : temp/1742954847_758687_1333362165_62abad1a0d832d74e74fcb8ee95ad652.jpg resize: (1080, 1632) 1333362165 2.069435589347652 treat image : temp/1742954847_758687_1333362160_cd3c8f7489f1091bd0369bfbbc0e370b.jpg resize: (1080, 1632) 1333362160 4.157769505257788 treat image : temp/1742954847_758687_1333362155_ca16ac119d764fa43a3bb9bc4628ea23.jpg resize: (1080, 1632) 1333362155 4.129145224511377 treat image : temp/1742954847_758687_1333362150_211433fafb23570c5ddea30e2cde1e23.jpg resize: (1080, 1632) 1333362150 0.5578572107158836 treat image : temp/1742954847_758687_1333361503_8d66afb4562395f1f6ac7cdcbdfd2f05.jpg resize: (1080, 1632) 1333361503 -0.05891291056539092 treat image : temp/1742954847_758687_1333361498_4f622293b15ce376bdac67c4aeed8fa0.jpg resize: (1080, 1632) 1333361498 1.5446162280268165 treat image : temp/1742954847_758687_1333361492_ad6b6ff1d4bd48fd0b1842a21f418b50.jpg resize: (1080, 1632) 1333361492 2.616469715057258 treat image : temp/1742954847_758687_1333361488_6afa164a2e0f174dc493f6dae21a303b.jpg resize: (1080, 1632) 1333361488 3.869661096443314 treat image : temp/1742954847_758687_1333361483_b35ee32baf14c7f6e473db8b91a7bdaa.jpg resize: (1080, 1632) 1333361483 2.6421064146014372 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.016031503677368164 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.29053640365600586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.44988107681274414 save missing photos in datou_result : time spend for datou_step_exec : 14.907196760177612 time spend to save output : 0.7613563537597656 total time spend for step 1 : 15.668553113937378 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.85user 3.05system 0:22.58elapsed 74%CPU (0avgtext+0avgdata 138468maxresident)k 0inputs+2992outputs (14major+252477minor)pagefaults 0swaps