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 : 1982682 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 : 1685>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1982682/ 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.3807356357574463 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 Tue May 20 11:27: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/1747733249_1982682_1359796524_26f166ea69159b2210647946095b3dca.jpg resize: (1080, 1632) 1359796524 -5.448846046603844 treat image : temp/1747733249_1982682_1359796518_6ec5740502a1a7e8a8d489bb2e62e835.jpg resize: (1080, 1632) 1359796518 -5.437862570740868 treat image : temp/1747733249_1982682_1359796512_8aac6a1a01f6d3066ea6054336fbaccd.jpg resize: (1080, 1632) 1359796512 -6.154552274404474 treat image : temp/1747733249_1982682_1359796505_0cef79114e9958bcc8b08b250d34371a.jpg resize: (1080, 1632) 1359796505 -5.707386345736437 treat image : temp/1747733249_1982682_1359796482_b0aceaf55667f0151c7af782c9d8e69f.jpg resize: (1080, 1632) 1359796482 -5.53479423130444 treat image : temp/1747733249_1982682_1359796478_f0de28a43f53d8b502b06598c5b01ea7.jpg resize: (1080, 1632) 1359796478 -6.098861554702409 treat image : temp/1747733249_1982682_1359796473_28ad21efa064ab302e5453e2c6ae6632.jpg resize: (1080, 1632) 1359796473 -5.39584046314916 treat image : temp/1747733249_1982682_1359796467_8574a708fd0c5f1f861d7b24e10fd28c.jpg resize: (1080, 1632) 1359796467 -4.879673120676706 treat image : temp/1747733249_1982682_1359796462_c16bf65981d75077fb391170e9b25016.jpg resize: (1080, 1632) 1359796462 -5.957825812529278 treat image : temp/1747733249_1982682_1359796458_a81c98d6be8c2f50e1fd7ceea20e188f.jpg resize: (1080, 1632) 1359796458 -5.762186419583291 treat image : temp/1747733249_1982682_1359796400_a14b55db543eb623a576cc64be6e82b7.jpg resize: (1080, 1632) 1359796400 -1.3848050095612656 treat image : temp/1747733249_1982682_1359796396_6a2d5cf042bd6f5afa4044781e8cad5b.jpg resize: (1080, 1632) 1359796396 -2.375338449390699 treat image : temp/1747733249_1982682_1359796392_2194aebbc3e5effe17430c3f636d11e9.jpg resize: (1080, 1632) 1359796392 -4.761519582776819 treat image : temp/1747733249_1982682_1359796388_c9da7deeb492b20d9469b9bcfa4ea961.jpg resize: (1080, 1632) 1359796388 -5.403484152826604 treat image : temp/1747733249_1982682_1359796352_158c3e626ae423ee0773b3bbc6144f37.jpg resize: (1080, 1632) 1359796352 -3.646269621124581 treat image : temp/1747733249_1982682_1359796348_7f7f82e0f5eec493a27d41e35fa92529.jpg resize: (1080, 1632) 1359796348 -4.961524865459858 treat image : temp/1747733249_1982682_1359796342_23deaee00923b3bb489c7b0ba37f5cb2.jpg resize: (1080, 1632) 1359796342 -5.6233247911931 treat image : temp/1747733249_1982682_1359796338_14bf770235a67894322ce1c5f97454f5.jpg resize: (1080, 1632) 1359796338 -5.305621323473203 treat image : temp/1747733249_1982682_1359796334_44b376303a765715f9557bcb8e03f579.jpg resize: (1080, 1632) 1359796334 -5.826700943085834 treat image : temp/1747733249_1982682_1359796330_7e00db99abc123ec4b1df92349cd1548.jpg resize: (1080, 1632) 1359796330 -3.2034238307170786 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.014568328857421875 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.012760162353515625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015212535858154297 save missing photos in datou_result : time spend for datou_step_exec : 15.135767698287964 time spend to save output : 0.04764103889465332 total time spend for step 1 : 15.183408737182617 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 2.93system 0:21.36elapsed 81%CPU (0avgtext+0avgdata 139868maxresident)k 120inputs+10224outputs (10major+261103minor)pagefaults 0swaps