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 : 3602617 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 : 2922>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3602617/ 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.434802770614624 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 May 12 19:22:29 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/1747070547_3602617_1357707301_f97a9890a7f9bcad192a587faf572f65.jpg resize: (1080, 1632) 1357707301 -1.0244808196033761 treat image : temp/1747070547_3602617_1357707272_da2d11bfe3cee851356e0a1c80b59293.jpg resize: (1080, 1632) 1357707272 -2.3015164893409916 treat image : temp/1747070547_3602617_1357707245_eed7c10b8fcf52aa13c37734e30bd204.jpg resize: (1080, 1632) 1357707245 -2.8803163244782604 treat image : temp/1747070547_3602617_1357707218_0b28b665723f606dcc2e1bc9545e2c81.jpg resize: (1080, 1632) 1357707218 -5.406259710768463 treat image : temp/1747070547_3602617_1357707191_64057075c8e57e4c7e08687a697adce9.jpg resize: (1080, 1632) 1357707191 -6.452274358560632 treat image : temp/1747070547_3602617_1357707130_dc74beb65cc213ee45c667675c9da339.jpg resize: (1080, 1632) 1357707130 -5.594046082993382 treat image : temp/1747070547_3602617_1357707126_70d1f797c419c3bdc8982fbb9c0a2a71.jpg resize: (1080, 1632) 1357707126 -5.976120095712931 treat image : temp/1747070547_3602617_1357707123_7ff6ca9c54f1e778a7cd97643abc8f0a.jpg resize: (1080, 1632) 1357707123 -5.557061583867897 treat image : temp/1747070547_3602617_1357707106_ee1bf9074b2cc261e9bfd57ee2199527.jpg resize: (1080, 1632) 1357707106 -5.470920477231367 treat image : temp/1747070547_3602617_1357707102_2ea08ddfd080cd2c24ff188b0fc84067.jpg resize: (1080, 1632) 1357707102 -5.477226972383288 treat image : temp/1747070547_3602617_1357707096_4adb32e5f95c46050cfc52b5064b0def.jpg resize: (1080, 1632) 1357707096 -1.6900623289546042 treat image : temp/1747070547_3602617_1357706755_308ad9765b0e9cff7c05e39ffc1247ad.jpg resize: (1080, 1632) 1357706755 -1.8509187475377706 treat image : temp/1747070547_3602617_1357706752_0335622e6e22d2999c7cb72daf828567.jpg resize: (1080, 1632) 1357706752 -5.406169181088796 treat image : temp/1747070547_3602617_1357706748_dbc59a29612e6f5d0420d93e9b4b14c9.jpg resize: (1080, 1632) 1357706748 -6.374465009051076 treat image : temp/1747070547_3602617_1357706733_8c47a9d280b86ad1549444bf6d65acdc.jpg resize: (1080, 1632) 1357706733 -2.3814024841565913 treat image : temp/1747070547_3602617_1357706730_4dd4cd0a916e687fd1e97b241723b835.jpg resize: (1080, 1632) 1357706730 -5.678052150410727 treat image : temp/1747070547_3602617_1357706726_017d145c254315546f1a8f8eea6ea1dc.jpg resize: (1080, 1632) 1357706726 -5.876763540859198 treat image : temp/1747070547_3602617_1357706723_a38195efa177d5952a0e1142731b0af2.jpg resize: (1080, 1632) 1357706723 -3.3646776439100163 treat image : temp/1747070547_3602617_1357706721_dbdfc7eadeac76cde1d987e739fb5eda.jpg resize: (1080, 1632) 1357706721 -5.976704951720141 treat image : temp/1747070547_3602617_1357706718_b42999038426bfb35acf181dcae97ebd.jpg resize: (1080, 1632) 1357706718 -4.738886532348684 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.012226104736328125 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.012900352478027344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014138460159301758 save missing photos in datou_result : time spend for datou_step_exec : 15.39215898513794 time spend to save output : 0.04458284378051758 total time spend for step 1 : 15.436741828918457 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.49user 2.69system 0:20.37elapsed 89%CPU (0avgtext+0avgdata 140128maxresident)k 136inputs+10104outputs (0major+261125minor)pagefaults 0swaps