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 : 1272753 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 : 4003>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/1272753/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.5578250885009766 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 Thu Jul 24 12:32: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/1753353148_1272753_1373519507_656640110d3eaae4709b19022e1d78d7.jpg resize: (1080, 1632) 1373519507 -5.461546751573667 treat image : temp/1753353148_1272753_1373519482_fdd6a0b092b10b9e58bd3d927a940715.jpg resize: (1080, 1632) 1373519482 -5.461546751573667 treat image : temp/1753353148_1272753_1373519479_d0c50e9400677cba04e42299bbfbf063.jpg resize: (1080, 1632) 1373519479 -5.450909850211422 treat image : temp/1753353148_1272753_1373519477_8d99c392609a7321059085876c04a592.jpg resize: (1080, 1632) 1373519477 -5.430980156091273 treat image : temp/1753353148_1272753_1373519475_b3cc25312871b1098252b90b9dd5c5e3.jpg resize: (1080, 1632) 1373519475 -5.428295585349723 treat image : temp/1753353148_1272753_1373519474_572d6fcf0b49d126711813ba8bea3086.jpg resize: (1080, 1632) 1373519474 -5.420048539223272 treat image : temp/1753353148_1272753_1373519472_b56e76c5e048ab4fce23b88f3ec3e7dd.jpg resize: (1080, 1632) 1373519472 -5.41487918812526 treat image : temp/1753353148_1272753_1373519439_ba876f61c3bc2d04d9dc932f93aec243.jpg resize: (1080, 1632) 1373519439 -5.476050341395385 treat image : temp/1753353148_1272753_1373519435_58de4865d673f46355a96d9df6751b4c.jpg resize: (1080, 1632) 1373519435 -5.491749938567688 treat image : temp/1753353148_1272753_1373519422_3f51bf99b9ca5301c7f38b5727114787.jpg resize: (1080, 1632) 1373519422 -5.490700933336209 treat image : temp/1753353148_1272753_1373519405_6872f7eddbf63c03cab7e076820218fe.jpg resize: (1080, 1632) 1373519405 -5.4815733268740345 treat image : temp/1753353148_1272753_1373519404_c4ea05f9a06078eb13ae5e6ac7aca634.jpg resize: (1080, 1632) 1373519404 -5.467571623884634 treat image : temp/1753353148_1272753_1373519387_cc3f41c40d4ac9ef78371a3dabed1a8e.jpg resize: (1080, 1632) 1373519387 -5.465376818778113 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 : 13 time used for this insertion : 0.014285087585449219 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 13 time used for this insertion : 0.013498306274414062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.013013601303100586 save missing photos in datou_result : time spend for datou_step_exec : 10.372871398925781 time spend to save output : 0.0452265739440918 total time spend for step 1 : 10.418097972869873 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 9.43user 3.07system 0:14.72elapsed 85%CPU (0avgtext+0avgdata 138172maxresident)k 96inputs+6952outputs (13major+188343minor)pagefaults 0swaps