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 : 192153 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 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/192153/ 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.2812938690185547 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 19 05:27: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/1747625246_192153_1359276848_6835f5ca5c7e9cf89afc13297a62fff5.jpg resize: (1080, 1632) 1359276848 -0.9821854955746203 treat image : temp/1747625246_192153_1359276810_38caab2065114628f4c041d5e4143cfb.jpg resize: (1080, 1632) 1359276810 -2.1640443443083424 treat image : temp/1747625246_192153_1359276809_dd155ed39129ab44d2bd072e050dd99b.jpg resize: (1080, 1632) 1359276809 -4.017789074355167 treat image : temp/1747625246_192153_1359276807_9a57a74309b53dcbe19a0fce31003cf1.jpg resize: (1080, 1632) 1359276807 -5.613551262439752 treat image : temp/1747625246_192153_1359276805_55bfe5ef9b66e20c5f30601e83cabc19.jpg resize: (1080, 1632) 1359276805 -3.5439342904741866 treat image : temp/1747625246_192153_1359276803_4ac4f4b3ca0d554c81d2b988cfd4aa98.jpg resize: (1080, 1632) 1359276803 -5.6497179922346765 treat image : temp/1747625246_192153_1359276697_fca397b4c422df6ff3fa8161fe0736bf.jpg resize: (1080, 1632) 1359276697 -4.4376850011646845 treat image : temp/1747625246_192153_1359276695_f61846028ff7a704c22eb8aea2843298.jpg resize: (1080, 1632) 1359276695 -5.5719863211418685 treat image : temp/1747625246_192153_1359276693_367e899839413968a0d228ce8170a9ca.jpg resize: (1080, 1632) 1359276693 -3.1264582336402067 treat image : temp/1747625246_192153_1359276642_3a798ce1a1c194199b3cb81828650a43.jpg resize: (1080, 1632) 1359276642 -5.096726442531454 treat image : temp/1747625246_192153_1359276641_893936e2f5436ede92b967f336ecc355.jpg resize: (1080, 1632) 1359276641 -5.864681391005877 treat image : temp/1747625246_192153_1359276640_ac0cc18e3c2255961ed36429c337e6cf.jpg resize: (1080, 1632) 1359276640 -2.4978419030837515 treat image : temp/1747625246_192153_1359276639_8828d163b790983af2fcffb67cb77bbb.jpg resize: (1080, 1632) 1359276639 -5.646104168339754 treat image : temp/1747625246_192153_1359276638_25a530515f82fda9ef6964cbfc00bd77.jpg resize: (1080, 1632) 1359276638 -6.480546145972629 treat image : temp/1747625246_192153_1359276583_6f4c11efc648dcf5470f2598319845e3.jpg resize: (1080, 1632) 1359276583 -1.4015683131455599 treat image : temp/1747625246_192153_1359276574_73a72016242f405a0569e0f4f6533e03.jpg resize: (1080, 1632) 1359276574 -2.838203834760948 treat image : temp/1747625246_192153_1359276572_db9d1f778f02f8131c9fe63b7e8e9aa1.jpg resize: (1080, 1632) 1359276572 -3.998730654674441 treat image : temp/1747625246_192153_1359276570_b7bf603a44a8b20a8abf6e20acdf2089.jpg resize: (1080, 1632) 1359276570 -5.920849739894469 treat image : temp/1747625246_192153_1359276568_32f93c57f8c2cffee8afbe99ebf804d2.jpg resize: (1080, 1632) 1359276568 -2.883312216305495 treat image : temp/1747625246_192153_1359276408_44406d728795c1377b134ad1c8e28c78.jpg resize: (1080, 1632) 1359276408 -4.935496213467316 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.013424158096313477 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.01593494415283203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016134023666381836 save missing photos in datou_result : time spend for datou_step_exec : 16.62435245513916 time spend to save output : 0.05129241943359375 total time spend for step 1 : 16.675644874572754 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 4.38system 0:21.18elapsed 89%CPU (0avgtext+0avgdata 139700maxresident)k 128inputs+9224outputs (6major+260476minor)pagefaults 0swaps