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 : 1648447 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 : 484>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1648447/ 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.4780235290527344 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 14 07:02:30 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/1747198947_1648447_1358096521_8bbfa1f6aebd015b19e37f0967ccdb14.jpg resize: (1080, 1632) 1358096521 -2.998408314302002 treat image : temp/1747198947_1648447_1358096517_ff3e4ab7e0131660a1ba21bfb2745b09.jpg resize: (1080, 1632) 1358096517 -1.1013821107475144 treat image : temp/1747198947_1648447_1358096513_0f80d30dc583937f5608d34dfe72944d.jpg resize: (1080, 1632) 1358096513 -1.2405289782140008 treat image : temp/1747198947_1648447_1358096487_178e6b1a42d7043e4bcdbe670ffbc043.jpg resize: (1080, 1632) 1358096487 -4.799648705575892 treat image : temp/1747198947_1648447_1358096483_67d4bc8b38c6068e7b932ecd1dd7c3cd.jpg resize: (1080, 1632) 1358096483 -6.115186963188732 treat image : temp/1747198947_1648447_1358096479_a72605151d8c85c6a321698963d2813c.jpg resize: (1080, 1632) 1358096479 -3.6933698692832277 treat image : temp/1747198947_1648447_1358096476_1980c81d5a274541282330076961b4a5.jpg resize: (1080, 1632) 1358096476 -4.4332108083639366 treat image : temp/1747198947_1648447_1358096470_f0269aa470c0446ff61cabac268cafe3.jpg resize: (1080, 1632) 1358096470 -5.737001139641256 treat image : temp/1747198947_1648447_1358096427_e05300fa45faba1d6c011e5e1a48fe4b.jpg resize: (1080, 1632) 1358096427 -5.95136700154474 treat image : temp/1747198947_1648447_1358096422_8b92af9d3e2a42c23c743b83c60d0041.jpg resize: (1080, 1632) 1358096422 -2.011932448808385 treat image : temp/1747198947_1648447_1358096417_c05461ba3b9b18f18567212f1188b66b.jpg resize: (1080, 1632) 1358096417 -3.429029386560512 treat image : temp/1747198947_1648447_1358096389_d16e7d1c8e81de1947f73bee6b2e65b5.jpg resize: (1080, 1632) 1358096389 -5.7199405701250905 treat image : temp/1747198947_1648447_1358096386_05c1763acd5b2185010f7f7e88730dd1.jpg resize: (1080, 1632) 1358096386 -4.3656897098140295 treat image : temp/1747198947_1648447_1358096383_0f78e7403d64407712fd79adf96260bd.jpg resize: (1080, 1632) 1358096383 -5.50204740667205 treat image : temp/1747198947_1648447_1358096380_2de87d17c377e1187e57a7eecac9bc82.jpg resize: (1080, 1632) 1358096380 -5.420787193856222 treat image : temp/1747198947_1648447_1358096378_e797f6f39c2e02a00434fa789bf7bd04.jpg resize: (1080, 1632) 1358096378 -2.957535425052285 treat image : temp/1747198947_1648447_1358096376_0c279c00d514b4b8a0de4b0275c2f508.jpg resize: (1080, 1632) 1358096376 -5.502807220110331 treat image : temp/1747198947_1648447_1358096356_6f75f23e2c510ce6023ae7f3bfc19cb8.jpg resize: (1080, 1632) 1358096356 -5.208724721177905 treat image : temp/1747198947_1648447_1358096353_edb5e0cb36bfb8e0d877111fe78820a1.jpg resize: (1080, 1632) 1358096353 -3.153316309126969 treat image : temp/1747198947_1648447_1358096351_1a9e886b941e84d89913f5edac3b075d.jpg resize: (1080, 1632) 1358096351 -6.166691398310818 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.01256108283996582 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.2292788028717041 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.21570110321044922 save missing photos in datou_result : time spend for datou_step_exec : 15.331779956817627 time spend to save output : 0.4621877670288086 total time spend for step 1 : 15.793967723846436 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 2.99system 0:20.76elapsed 84%CPU (0avgtext+0avgdata 142040maxresident)k 144inputs+9528outputs (12major+264302minor)pagefaults 0swaps