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 : 3049027 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3049027/ 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 : 3.836155891418457 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 Tue Sep 16 15:57: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/1758031047_3049027_1383572050_59c8227c747677689640742445306429.jpg resize: (1080, 1632) 1383572050 -5.5633675660194335 treat image : temp/1758031047_3049027_1383572048_f45ef79fccb66a6d5d0975ef97fef0fb.jpg resize: (1080, 1632) 1383572048 -3.1598816906718485 treat image : temp/1758031047_3049027_1383572046_79cb48797a468fc2695d8821668ecf8d.jpg resize: (1080, 1632) 1383572046 -5.3911118910577125 treat image : temp/1758031047_3049027_1383572027_3d7772ed4bec121f9b46a9ff4286b12d.jpg resize: (1080, 1632) 1383572027 -5.781714390488067 treat image : temp/1758031047_3049027_1383572024_0aadce75370593f34c303e6753a943f8.jpg resize: (1080, 1632) 1383572024 -4.555123716670601 treat image : temp/1758031047_3049027_1383572022_49e2b38423accff9b1b21c6fa177953f.jpg resize: (1080, 1632) 1383572022 -5.686598829568478 treat image : temp/1758031047_3049027_1383572018_f5b533ba924d9880830670c2f7a8d6f1.jpg resize: (1080, 1632) 1383572018 -3.912082623398089 treat image : temp/1758031047_3049027_1383571999_849308817e5f9278a8de040fc5bab0e0.jpg resize: (1080, 1632) 1383571999 -5.556977752035521 treat image : temp/1758031047_3049027_1383571994_218ab07aa4390805a2dc01d8bc10b464.jpg resize: (1080, 1632) 1383571994 -5.542425484794489 treat image : temp/1758031047_3049027_1383571989_a80b5e4f274c4a3a4e11e78d823bc688.jpg resize: (1080, 1632) 1383571989 -5.727207277665105 treat image : temp/1758031047_3049027_1383571986_d4343beb11f45cced21668dd3ed765d7.jpg resize: (1080, 1632) 1383571986 -5.652910881982135 treat image : temp/1758031047_3049027_1383571957_3d9296f08f8a89c75698acedbd397ebd.jpg resize: (1080, 1632) 1383571957 -4.657790916554104 treat image : temp/1758031047_3049027_1383571953_5532acc49c0bf4791624f488eb6cbeba.jpg resize: (1080, 1632) 1383571953 -3.4197695672158472 treat image : temp/1758031047_3049027_1383571950_e4768adea172123a2e07dbc887f392b5.jpg resize: (1080, 1632) 1383571950 -5.38095049195558 treat image : temp/1758031047_3049027_1383571948_f4ae217d8b4f6849737e40bd329f3771.jpg resize: (1080, 1632) 1383571948 -4.52213733472945 treat image : temp/1758031047_3049027_1383571935_52ce855a3546b829800d958f537fb5c6.jpg resize: (1080, 1632) 1383571935 -5.7458032660999 treat image : temp/1758031047_3049027_1383571934_fab6456ff628dfcd2aa0ef4d7b3bcc09.jpg resize: (1080, 1632) 1383571934 -5.227207359173287 treat image : temp/1758031047_3049027_1383571932_bb35d3174a83aa7764cddc9cbb5d6fcb.jpg resize: (1080, 1632) 1383571932 -1.6953538464370674 treat image : temp/1758031047_3049027_1383571917_fa8a419d0da263acaafb86a029c819db.jpg resize: (1080, 1632) 1383571917 -4.808471439278496 treat image : temp/1758031047_3049027_1383571913_6dcf61f7bb419cf8369ff84a67eeb170.jpg resize: (1080, 1632) 1383571913 -3.0991034605405186 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.013600349426269531 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.013787508010864258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01695728302001953 save missing photos in datou_result : time spend for datou_step_exec : 15.888278245925903 time spend to save output : 0.04900360107421875 total time spend for step 1 : 15.937281847000122 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 3.72system 0:21.71elapsed 83%CPU (0avgtext+0avgdata 138568maxresident)k 840inputs+10088outputs (7major+257535minor)pagefaults 0swaps