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 : 937048 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 : 666>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/937048/ 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.0882930755615234 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 Sat Mar 22 12:42: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/1742643748_937048_1346406284_a5639b2e6ce5799c41cdafe82528eec6.jpg resize: (1080, 1632) 1346406284 -5.65507519279386 treat image : temp/1742643748_937048_1346406259_4ae26b1f80920451ce1e06cf3c4c29fc.jpg resize: (1080, 1632) 1346406259 -5.765803504860244 treat image : temp/1742643748_937048_1346406233_a2d8f774164ea1a1d22f5411e0dcdfa6.jpg resize: (1080, 1632) 1346406233 -1.1386302429601525 treat image : temp/1742643748_937048_1346406230_d7fc14ebfe21148886f0572142b6e2d4.jpg resize: (1080, 1632) 1346406230 -2.3406923000837696 treat image : temp/1742643748_937048_1346406218_95bd1c6604357c7d68a3f1011cde9712.jpg resize: (1080, 1632) 1346406218 -3.0071826281732585 treat image : temp/1742643748_937048_1346406207_5e96e7c63a831949e3d137cabac3eb10.jpg resize: (1080, 1632) 1346406207 -4.18377451968205 treat image : temp/1742643748_937048_1346405961_cd98b21a82227646cb8b26052ad75657.jpg resize: (1080, 1632) 1346405961 -6.071918113191309 treat image : temp/1742643748_937048_1346405947_6a7b3351af50262899abc23ec94dc9a3.jpg resize: (1080, 1632) 1346405947 -3.6899023604220327 treat image : temp/1742643748_937048_1346405929_1bd0380b113a94620f551b04b730dc48.jpg resize: (1080, 1632) 1346405929 -2.5712067967786885 treat image : temp/1742643748_937048_1346405918_2b0250bf126390ee24c39c61d7d26cc7.jpg resize: (1080, 1632) 1346405918 -4.152833671148555 treat image : temp/1742643748_937048_1346405827_72e536e01d485436439e31aae153094f.jpg resize: (1080, 1632) 1346405827 -4.694372087439443 treat image : temp/1742643748_937048_1346405799_45b40e6676907c182b86e33494886cc2.jpg resize: (1080, 1632) 1346405799 -5.783490985337256 treat image : temp/1742643748_937048_1346405793_d514ca647b2f48e4ab4a6679d256fd77.jpg resize: (1080, 1632) 1346405793 -5.66886440875352 treat image : temp/1742643748_937048_1346405790_bc0e922133413d38511196459c5538a1.jpg resize: (1080, 1632) 1346405790 -5.152890987822036 treat image : temp/1742643748_937048_1346405786_64cb8e63f1a831f235ce77381d102127.jpg resize: (1080, 1632) 1346405786 -4.09630461290852 treat image : temp/1742643748_937048_1346405783_4343f997e263f0de703982f5637ad13f.jpg resize: (1080, 1632) 1346405783 -5.8787010352394375 treat image : temp/1742643748_937048_1346404797_7c2dbf7c54b847b3f359d477075f9350.jpg resize: (1080, 1632) 1346404797 -6.106956452493251 treat image : temp/1742643748_937048_1346404794_3698649657e8a2c21fa5298eca4cad78.jpg resize: (1080, 1632) 1346404794 -5.327808278209729 treat image : temp/1742643748_937048_1346404790_9e7ca082286eb0b0f608d4e038698346.jpg resize: (1080, 1632) 1346404790 -5.023562709791981 treat image : temp/1742643748_937048_1346404787_684b39927679c0093d21f24a0cbf82a6.jpg resize: (1080, 1632) 1346404787 -3.8447267155727096 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.012406587600708008 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.011889457702636719 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014929056167602539 save missing photos in datou_result : time spend for datou_step_exec : 14.036062002182007 time spend to save output : 0.04398918151855469 total time spend for step 1 : 14.080051183700562 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.47user 2.85system 0:19.05elapsed 85%CPU (0avgtext+0avgdata 140560maxresident)k 160inputs+9744outputs (14major+258157minor)pagefaults 0swaps