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 : 1800861 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 : 4920>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1800861/ 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.4033191204071045 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 Jul 2 20:37: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/1751481448_1800861_1370077630_788ab4b501c00e90d430b6aa08568a12.jpg resize: (1080, 1632) 1370077630 -1.062373979336183 treat image : temp/1751481448_1800861_1370077540_57f057237ea233d2d48e4711ea18bab0.jpg resize: (1080, 1632) 1370077540 -2.3520323429633687 treat image : temp/1751481448_1800861_1370077475_153b3ed1501ad2221d27ed5ef3f6208f.jpg resize: (1080, 1632) 1370077475 -1.2318835503574659 treat image : temp/1751481448_1800861_1370077439_c0ffc2febdb7eb1896cb56eed1ea23b7.jpg resize: (1080, 1632) 1370077439 -1.806193250141196 treat image : temp/1751481448_1800861_1370077377_7f926f33b8bfea03de0b7262f86485ff.jpg resize: (1080, 1632) 1370077377 -1.9085951636804235 treat image : temp/1751481448_1800861_1370077314_a80b923bb5b4ae21530df18d30386e87.jpg resize: (1080, 1632) 1370077314 -5.418114803786217 treat image : temp/1751481448_1800861_1370077224_d1f0a2b4303dfd57c47fb451ac0072db.jpg resize: (1080, 1632) 1370077224 -4.031102508774745 treat image : temp/1751481448_1800861_1370077181_8d126fc64a0cc6c1fd0dc2e0652fd714.jpg resize: (1080, 1632) 1370077181 -4.041538483765597 treat image : temp/1751481448_1800861_1370077148_3a8a0bc3c3400fa7844a3c7ad1962667.jpg resize: (1080, 1632) 1370077148 -4.474009120196259 treat image : temp/1751481448_1800861_1370077112_9bd7c5104d704debc70d52b5c5ba9341.jpg resize: (1080, 1632) 1370077112 -4.476155861278593 treat image : temp/1751481448_1800861_1370077060_06ecba9aa313e8434eeb6324c7a352ed.jpg resize: (1080, 1632) 1370077060 -4.461398808922906 treat image : temp/1751481448_1800861_1370077048_759201fc9630e535ec81a0fbb57cac0f.jpg resize: (1080, 1632) 1370077048 -4.453913368515747 treat image : temp/1751481448_1800861_1370075034_53d597fd8cbac2be284f9cbf179f1520.jpg resize: (1080, 1632) 1370075034 -5.580880942649361 treat image : temp/1751481448_1800861_1370074975_6b8b6a3e08723c3e3df3fbbbb0425e0e.jpg resize: (1080, 1632) 1370074975 -5.580880942649361 treat image : temp/1751481448_1800861_1370074935_dfe2899509c29222871f75cc54889021.jpg resize: (1080, 1632) 1370074935 -5.2863526043152715 treat image : temp/1751481448_1800861_1370074918_6f6424e9e5d9e3599b12ea9d76866f89.jpg resize: (1080, 1632) 1370074918 -5.2863526043152715 treat image : temp/1751481448_1800861_1370074793_2bd172ed2a5606123a81a1a9c4167865.jpg resize: (1080, 1632) 1370074793 -2.7941439864167794 treat image : temp/1751481448_1800861_1370074689_3d23970ac2ba1abb3027e298bee6e67a.jpg resize: (1080, 1632) 1370074689 -2.552568166822678 treat image : temp/1751481448_1800861_1370074656_5df7eb82d3d588d11386dbe6d97c5452.jpg resize: (1080, 1632) 1370074656 -2.920026776278521 treat image : temp/1751481448_1800861_1370074652_9bdde55ee5a4c6e9898c5051c07d50f3.jpg resize: (1080, 1632) 1370074652 -4.289398866475258 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.02945256233215332 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.013339757919311523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01827383041381836 save missing photos in datou_result : time spend for datou_step_exec : 15.403045654296875 time spend to save output : 0.06563186645507812 total time spend for step 1 : 15.468677520751953 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 4.09system 0:20.12elapsed 92%CPU (0avgtext+0avgdata 137764maxresident)k 264inputs+8336outputs (5major+256730minor)pagefaults 0swaps