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 : 1581050 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 : 374>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/1581050/ 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.288269519805908 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 06:37:29 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/1747197447_1581050_1358095510_b66a22ffe9328a1f71f276dbac607764.jpg resize: (1080, 1632) 1358095510 -5.051972110624866 treat image : temp/1747197447_1581050_1358095509_442d297a06890c1b2eb6e0e46c363120.jpg resize: (1080, 1632) 1358095509 -6.115114550412562 treat image : temp/1747197447_1581050_1358095508_397bd36fac18b6fb32539b47c799c60b.jpg resize: (1080, 1632) 1358095508 -2.7071059242647886 treat image : temp/1747197447_1581050_1358095505_2678d21d3ee26791eb2c2a238e8ccfb8.jpg resize: (1080, 1632) 1358095505 -6.119354268221915 treat image : temp/1747197447_1581050_1358095466_8762748847d44a004d614787d4b55979.jpg resize: (1080, 1632) 1358095466 -4.615151020624137 treat image : temp/1747197447_1581050_1358095445_b482ff5e1588c1ba8a1780777482efd6.jpg resize: (1080, 1632) 1358095445 -4.62760572448255 treat image : temp/1747197447_1581050_1358095394_9a43601f0af66090e18d58d6d995449c.jpg resize: (1080, 1632) 1358095394 -1.15581755055439 treat image : temp/1747197447_1581050_1358095390_81284758a6efabbaf8314575692fa37a.jpg resize: (1080, 1632) 1358095390 -2.144503002138432 treat image : temp/1747197447_1581050_1358095363_7f61dc8749bc44d70768871e9db52c0b.jpg resize: (1080, 1632) 1358095363 -5.837499438089494 treat image : temp/1747197447_1581050_1358095360_5f3d2114529bdfe7aec6e850b8b6fae1.jpg resize: (1080, 1632) 1358095360 -6.2029972912430855 treat image : temp/1747197447_1581050_1358095357_f223e31f2cc2dc7b2874372ea2df5133.jpg resize: (1080, 1632) 1358095357 -6.4895957968927735 treat image : temp/1747197447_1581050_1358095354_f1fe6d883765d7565be95e38c6a76ce3.jpg resize: (1080, 1632) 1358095354 -6.208460517953413 treat image : temp/1747197447_1581050_1358095352_55da760f3d9e932699540cc13c598855.jpg resize: (1080, 1632) 1358095352 -2.9130022569512133 treat image : temp/1747197447_1581050_1358095327_60800a4815e5a2e753e1a41636c4c325.jpg resize: (1080, 1632) 1358095327 -1.5314037872840927 treat image : temp/1747197447_1581050_1358095323_ca135cee06b3342d892f2c8ff5e1996d.jpg resize: (1080, 1632) 1358095323 -4.337262675200769 treat image : temp/1747197447_1581050_1358095321_9ffc802d6c98c2a11ecc007d6030e392.jpg resize: (1080, 1632) 1358095321 -3.225675916996543 treat image : temp/1747197447_1581050_1358095318_5cd111ecc914ec38140fb62d5b24febf.jpg resize: (1080, 1632) 1358095318 -3.199765530233202 treat image : temp/1747197447_1581050_1358095310_c63667730d68b503d8b9268064034a18.jpg resize: (1080, 1632) 1358095310 -3.367101191881774 treat image : temp/1747197447_1581050_1358095303_fe78254efd3f7c0ad549c6778451ec86.jpg resize: (1080, 1632) 1358095303 -2.124486038705189 treat image : temp/1747197447_1581050_1358095129_6f260720c2421374be09bce4259eba5b.jpg resize: (1080, 1632) 1358095129 -2.463413420207259 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.012583017349243164 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.013083457946777344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018877506256103516 save missing photos in datou_result : time spend for datou_step_exec : 15.33551812171936 time spend to save output : 0.049784183502197266 total time spend for step 1 : 15.385302305221558 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 3.60system 0:20.38elapsed 87%CPU (0avgtext+0avgdata 140960maxresident)k 168inputs+9432outputs (22major+263427minor)pagefaults 0swaps