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 : 143140 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/143140/ 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.5431394577026367 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 Sep 17 01: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/1758067048_143140_1359510514_63ecdee0e89c0d3f1604be2ff4e99fbc.jpg resize: (1080, 1632) 1359510514 -1.8737898961001245 treat image : temp/1758067048_143140_1359510508_d471f4971dd4b07ed68156104fd2a45d.jpg resize: (1080, 1632) 1359510508 -2.0105949213335883 treat image : temp/1758067048_143140_1359510499_c6051ffa21411cc875aa4cccca6fb970.jpg resize: (1080, 1632) 1359510499 -5.523939341327762 treat image : temp/1758067048_143140_1359510492_f196d22acea3ca59c37dabb1cd58658e.jpg resize: (1080, 1632) 1359510492 -6.312711291364304 treat image : temp/1758067048_143140_1359510487_787d7911eb234eae344def1a41cdf62c.jpg resize: (1080, 1632) 1359510487 -3.5251345388067925 treat image : temp/1758067048_143140_1359510459_1942bffe7045717e43a88b03f99805a8.jpg resize: (1080, 1632) 1359510459 -3.192103751112283 treat image : temp/1758067048_143140_1359510453_51bf262e96acbba8777da2ad43c457d4.jpg resize: (1080, 1632) 1359510453 -5.390079113535982 treat image : temp/1758067048_143140_1359510446_a550098b3ef40ecc1d4aa97204fafb75.jpg resize: (1080, 1632) 1359510446 -3.565300001426004 treat image : temp/1758067048_143140_1359510441_3995fb59564068064a6bb5eabd47a874.jpg resize: (1080, 1632) 1359510441 0.2842089314414331 treat image : temp/1758067048_143140_1359510413_b5d43ce380e18f90e7a329c27ea4f3b5.jpg resize: (1080, 1632) 1359510413 -5.179942810435154 treat image : temp/1758067048_143140_1359510390_3d5fe88211edb6242d31ec0c28e2575c.jpg resize: (1080, 1632) 1359510390 -4.842693427406966 treat image : temp/1758067048_143140_1359510376_68d501adc2eef68333aaf901d85b0a21.jpg resize: (1080, 1632) 1359510376 -5.971790720951197 treat image : temp/1758067048_143140_1359510362_30d808345d72a38ae00da52df6ba9fad.jpg resize: (1080, 1632) 1359510362 -5.971367220346959 treat image : temp/1758067048_143140_1359510338_359b5eb6d9bf0bedd78590c657dc69d7.jpg resize: (1080, 1632) 1359510338 -5.617817993700618 treat image : temp/1758067048_143140_1359510333_b71d137af03f93fc05e8e563c8c02eca.jpg resize: (1080, 1632) 1359510333 -2.7584107769909862 treat image : temp/1758067048_143140_1359510068_5ac1e4dfc37d34e29f2425eb60a2cce5.jpg resize: (1080, 1632) 1359510068 -1.4222245503086008 treat image : temp/1758067048_143140_1359510012_9184047da52e1eeebb6a0199f7e875ba.jpg resize: (1080, 1632) 1359510012 -5.335054023352788 treat image : temp/1758067048_143140_1359509967_2953dfe82eae60c77d13fb171a40c55c.jpg resize: (1080, 1632) 1359509967 -6.254048849493445 treat image : temp/1758067048_143140_1359509932_0f1cb8827aa4c5cdcac0c008f9990b30.jpg resize: (1080, 1632) 1359509932 -6.474499794897317 treat image : temp/1758067048_143140_1359509261_21c8b99d5dd4600a65500cbbd3db205b.jpg resize: (1080, 1632) 1359509261 -3.015071617507507 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.015776872634887695 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.2617974281311035 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2110428810119629 save missing photos in datou_result : time spend for datou_step_exec : 15.745786428451538 time spend to save output : 0.494182825088501 total time spend for step 1 : 16.23996925354004 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 3.79system 0:21.33elapsed 85%CPU (0avgtext+0avgdata 137576maxresident)k 4416inputs+9808outputs (39major+257054minor)pagefaults 0swaps