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 : 2544067 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 : 1621>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2544067/ 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.574237823486328 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 May 21 12:22: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/1747822948_2544067_1360015519_78704d8b4313d3f8097d6aa400cd0734.jpg resize: (1080, 1632) 1360015519 -5.421702625016021 treat image : temp/1747822948_2544067_1360011127_9a416d2bb172479c7ad100e5d31c5d7f.jpg resize: (1080, 1632) 1360011127 -5.6084399406213254 treat image : temp/1747822948_2544067_1360010960_0cbaf090b676e6fabd4263a9989b8f7a.jpg resize: (1080, 1632) 1360010960 -5.9658803011652175 treat image : temp/1747822948_2544067_1360010958_a51c9bca4a47fe68ec2aa5d4a70bbe50.jpg resize: (1080, 1632) 1360010958 -6.182263160898567 treat image : temp/1747822948_2544067_1360010943_fd23ef8bdc15c683114b2b6cb7f3e9e6.jpg resize: (1080, 1632) 1360010943 -6.151921833551841 treat image : temp/1747822948_2544067_1360010916_a06627e912ac55f3621beb0b90524b47.jpg resize: (1080, 1632) 1360010916 -0.9373435441645045 treat image : temp/1747822948_2544067_1360004539_4be4399ad6b6f07dab970c072bebe311.jpg resize: (1080, 1632) 1360004539 -3.525163503374916 treat image : temp/1747822948_2544067_1360003435_760c93eb9c448c90c0c0fd7c3ffe514c.jpg resize: (1080, 1632) 1360003435 -5.691641342844172 treat image : temp/1747822948_2544067_1360003429_7d6f0a3cd6ded189291e4c7e8b66a051.jpg resize: (1080, 1632) 1360003429 -5.491583745202749 treat image : temp/1747822948_2544067_1360003425_9aac5877e7a7f314aa9616f54811beaf.jpg resize: (1080, 1632) 1360003425 -5.27090769434564 treat image : temp/1747822948_2544067_1360003423_6b18c00da00173b9b7ad0f31965b8dd6.jpg resize: (1080, 1632) 1360003423 -4.90167146434972 treat image : temp/1747822948_2544067_1360003420_674dd80995c2269c7f6c545ded84acea.jpg resize: (1080, 1632) 1360003420 -2.3407134207378975 treat image : temp/1747822948_2544067_1360003379_190137af4cca086bc2d956c4f966554b.jpg resize: (1080, 1632) 1360003379 -1.8164136799457438 treat image : temp/1747822948_2544067_1360003376_187edc948c69e4f647ed4c8c8e6742e3.jpg resize: (1080, 1632) 1360003376 -3.6549854010723903 treat image : temp/1747822948_2544067_1360003372_7b2db8a541cecc092e3c37efd3075b91.jpg resize: (1080, 1632) 1360003372 -5.745010248975661 treat image : temp/1747822948_2544067_1360003370_150a4285e8e46d937ac1c2bf15b6f4f0.jpg resize: (1080, 1632) 1360003370 -6.0939523889287575 treat image : temp/1747822948_2544067_1360003355_774209f359c94140618cd8f7ba7762f7.jpg resize: (1080, 1632) 1360003355 -6.138458647815361 treat image : temp/1747822948_2544067_1360003353_f17f4d99a4d9bfbe0ad3fd27bc001a96.jpg resize: (1080, 1632) 1360003353 -5.883754882439399 treat image : temp/1747822948_2544067_1360003350_acc3427c8cb0f3190503526506eca8ad.jpg resize: (1080, 1632) 1360003350 -5.350266131421362 treat image : temp/1747822948_2544067_1360003346_511319d1b5b7cd11575dd9e54331d892.jpg resize: (1080, 1632) 1360003346 -5.923125335033401 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.015532255172729492 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.0699613094329834 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06821060180664062 save missing photos in datou_result : time spend for datou_step_exec : 19.437903881072998 time spend to save output : 0.15870189666748047 total time spend for step 1 : 19.59660577774048 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 7.38system 0:25.85elapsed 85%CPU (0avgtext+0avgdata 141136maxresident)k 376inputs+10344outputs (6major+258683minor)pagefaults 0swaps