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 : 1612981 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 : 312>100 please execute split_portfolio.py -i 22447564 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2763831'] with mtr_portfolio_ids : ['22447564'] and first list_photo_ids : [] new path : /proc/1612981/ 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.340723991394043 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 Mon Apr 28 11:47: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/1745833649_1612981_1353872204_2c92a9301654a458cbcc1559386df427.jpg resize: (1080, 1632) 1353872204 -4.788052284039669 treat image : temp/1745833649_1612981_1353872131_733f241f7860b5a4b01eb9ca0de5ce3c.jpg resize: (1080, 1632) 1353872131 -4.671836029306812 treat image : temp/1745833649_1612981_1353872080_5124dee01ed7881dfe84268e667dba24.jpg resize: (1080, 1632) 1353872080 -5.069382510606122 treat image : temp/1745833649_1612981_1353872047_8f2e56a3fbf179057e3a39b039cea083.jpg resize: (1080, 1632) 1353872047 -5.509375577225208 treat image : temp/1745833649_1612981_1353872008_30bb2ebdc08df9a5a65292ea7a9492d9.jpg resize: (1080, 1632) 1353872008 -5.703053053534685 treat image : temp/1745833649_1612981_1353871955_655cc18b0bbb3338fcffcb216c6a92a3.jpg resize: (1080, 1632) 1353871955 -5.098019662048678 treat image : temp/1745833649_1612981_1353871748_473ae2573d2081c3756c255cf7f5c6eb.jpg resize: (1080, 1632) 1353871748 -0.4854676472480997 treat image : temp/1745833649_1612981_1353871692_64a831d9b6f39b663cc5c463aa97b8fe.jpg resize: (1080, 1632) 1353871692 -1.96986875133419 treat image : temp/1745833649_1612981_1353871610_03e1b42fe80972620e2bd9827ead3d24.jpg resize: (1080, 1632) 1353871610 -3.031325941689661 treat image : temp/1745833649_1612981_1353871547_ab77a6cea07d905c830a83afc955487a.jpg resize: (1080, 1632) 1353871547 -2.575725857554004 treat image : temp/1745833649_1612981_1353871461_c953263dd00293cd25dbb0515fc00f86.jpg resize: (1080, 1632) 1353871461 -2.9109553787356734 treat image : temp/1745833649_1612981_1353871380_fa9f8772b0404d2eb8f17b4b8fa435e5.jpg resize: (1080, 1632) 1353871380 -4.74664728620616 treat image : temp/1745833649_1612981_1353871213_eb37c8cc5146a17ca2a3301c8c49234c.jpg resize: (1080, 1632) 1353871213 -4.925836335398006 treat image : temp/1745833649_1612981_1353871140_ff69761b30285866d26607817f39eb26.jpg resize: (1080, 1632) 1353871140 -5.6610635724839815 treat image : temp/1745833649_1612981_1353871066_4d801fa7e226678848773acee30acfb9.jpg resize: (1080, 1632) 1353871066 -5.746990501052505 treat image : temp/1745833649_1612981_1353870956_364390dc1e646faff630a09ed0d9d565.jpg resize: (1080, 1632) 1353870956 -6.238770288448871 treat image : temp/1745833649_1612981_1353870851_75cfdbcd7761bd8cb8bd89c7a14b0eee.jpg resize: (1080, 1632) 1353870851 -6.213488614349564 treat image : temp/1745833649_1612981_1353870775_db3c5f87ec585fa97749a436e98f6214.jpg resize: (1080, 1632) 1353870775 -5.487697886481227 treat image : temp/1745833649_1612981_1353870446_07761ce88fef067ab257f95f5570e23f.jpg resize: (1080, 1632) 1353870446 -5.599333674611405 treat image : temp/1745833649_1612981_1353870352_e4dc15951de3dffe02c09d9ac209b086.jpg resize: (1080, 1632) 1353870352 -6.238775261687509 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.01479339599609375 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.012744903564453125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015120506286621094 save missing photos in datou_result : time spend for datou_step_exec : 16.678731441497803 time spend to save output : 0.04762911796569824 total time spend for step 1 : 16.7263605594635 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 4.18system 0:23.09elapsed 82%CPU (0avgtext+0avgdata 139448maxresident)k 3680inputs+9608outputs (27major+255743minor)pagefaults 0swaps