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 : 1356555 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 : 2208>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/1356555/ 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.0012121200561523 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 15:07: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/1742652447_1356555_1346438036_0e1f112a1ddc4999ab81e7f198d339ca.jpg resize: (1080, 1632) 1346438036 -3.165858925814538 treat image : temp/1742652447_1356555_1346438010_fd375226533f32aabe6e08c31f9e60b9.jpg resize: (1080, 1632) 1346438010 -5.197008804530396 treat image : temp/1742652447_1356555_1346437998_04b6cadd5d3cdfd44778d589a15b0bed.jpg resize: (1080, 1632) 1346437998 -5.853850459962588 treat image : temp/1742652447_1356555_1346437983_1614733953dc239cc7e68a6d1c94a44e.jpg resize: (1080, 1632) 1346437983 -5.8557606426405 treat image : temp/1742652447_1356555_1346437980_9fe9781f859bb1aa01d7ac261df41218.jpg resize: (1080, 1632) 1346437980 -6.075894654770589 treat image : temp/1742652447_1356555_1346437953_44c5ec66d8b0c4f5ee577eafcab31906.jpg resize: (1080, 1632) 1346437953 -5.844527116473291 treat image : temp/1742652447_1356555_1346437844_12e8e401609980825479cb10b862c6e1.jpg resize: (1080, 1632) 1346437844 -6.201194263763582 treat image : temp/1742652447_1356555_1346437837_43e625d1c803e7be61708c20111268b0.jpg resize: (1080, 1632) 1346437837 -6.1944978371668284 treat image : temp/1742652447_1356555_1346437826_a56277af9f72ceb0604629d53b10dec9.jpg resize: (1080, 1632) 1346437826 -5.852301415329543 treat image : temp/1742652447_1356555_1346437818_511fe8ce549ea647c0ff11fbd1e0db6f.jpg resize: (1080, 1632) 1346437818 -2.122662850170561 treat image : temp/1742652447_1356555_1346437784_bc128b91f022bae76453557ae6677577.jpg resize: (1080, 1632) 1346437784 -5.304915728407631 treat image : temp/1742652447_1356555_1346437735_03f4dfd98783911009a3a10380efe194.jpg resize: (1080, 1632) 1346437735 -5.926851310799801 treat image : temp/1742652447_1356555_1346436828_e4d15d0033deb2d701ad526d643f05f8.jpg resize: (1080, 1632) 1346436828 -5.9938911467749465 treat image : temp/1742652447_1356555_1346436815_d2a14e7019e1ba785818144874acfd3d.jpg resize: (1080, 1632) 1346436815 -5.874582921219899 treat image : temp/1742652447_1356555_1346436788_22e5418ca91130fca07b33a2961d9994.jpg resize: (1080, 1632) 1346436788 -3.3088889512747377 treat image : temp/1742652447_1356555_1346436759_3ae0878a661c02906fc9ceb1040edc69.jpg resize: (1080, 1632) 1346436759 -1.2439755357949966 treat image : temp/1742652447_1356555_1346436654_1edadb7ba3259815f5c0996066a34518.jpg resize: (1080, 1632) 1346436654 -3.2685858476138 treat image : temp/1742652447_1356555_1346436623_fc7659709a6729eb1cf0f47dae10615b.jpg resize: (1080, 1632) 1346436623 -4.393199362721239 treat image : temp/1742652447_1356555_1346436595_fe715238474b47d0d6687f21f62e9145.jpg resize: (1080, 1632) 1346436595 -5.315728030413988 treat image : temp/1742652447_1356555_1346436565_d688092f5ea6a2b5982468530bb8476c.jpg resize: (1080, 1632) 1346436565 -5.347320727996774 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.012605667114257812 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.012317657470703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013762235641479492 save missing photos in datou_result : time spend for datou_step_exec : 18.043483018875122 time spend to save output : 0.04387688636779785 total time spend for step 1 : 18.08735990524292 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 6.03system 0:21.97elapsed 93%CPU (0avgtext+0avgdata 139604maxresident)k 0inputs+10560outputs (0major+256837minor)pagefaults 0swaps