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 : 2419863 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 : 7168>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/2419863/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.8040826320648193 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 Fri Jul 4 22:52: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/1751662348_2419863_1370707279_7c5bcc9760fee38fd97f63119bd886e9.jpg resize: (1080, 1632) 1370707279 -2.564339075804576 treat image : temp/1751662348_2419863_1370707275_a7bc059e526d679afbe97d802efa617a.jpg resize: (1080, 1632) 1370707275 -2.5422432239054404 treat image : temp/1751662348_2419863_1370707272_7da9acc9b743168406990b9611ba5560.jpg resize: (1080, 1632) 1370707272 -2.542507385005139 treat image : temp/1751662348_2419863_1370707270_eee31450d5d5e892a1f7f89a6eac9beb.jpg resize: (1080, 1632) 1370707270 -2.56286835868945 treat image : temp/1751662348_2419863_1370707267_2475537fa7e9ff1771f9dd45a9a697d7.jpg resize: (1080, 1632) 1370707267 -2.5576147064128025 treat image : temp/1751662348_2419863_1370707263_d50912a145524dfff819367d10911395.jpg resize: (1080, 1632) 1370707263 -2.5336792534726063 treat image : temp/1751662348_2419863_1370707255_9176a2e8b3f9ad1351009d6fca67ceef.jpg resize: (1080, 1632) 1370707255 -5.6389059663277585 treat image : temp/1751662348_2419863_1370707248_19fe44ab116e12baa15bbacb443c1be9.jpg resize: (1080, 1632) 1370707248 -5.638036523933062 treat image : temp/1751662348_2419863_1370707246_08cc9acec2b9286e2a86d1f14b67d622.jpg resize: (1080, 1632) 1370707246 -5.633636983918596 treat image : temp/1751662348_2419863_1370707245_5a6ff09d9841b1272a3cc9f4f7c2114d.jpg resize: (1080, 1632) 1370707245 -5.621923329320732 treat image : temp/1751662348_2419863_1370707244_d9ab1dbfb8001778a29cabe75fa31dad.jpg resize: (1080, 1632) 1370707244 -5.634945192572986 treat image : temp/1751662348_2419863_1370707240_5f4a4fbd1566d8713d40642beb640163.jpg resize: (1080, 1632) 1370707240 -5.629875384663744 treat image : temp/1751662348_2419863_1370707122_4b5e431c6b46e6790d2bfd9a1b06c4e2.jpg resize: (1080, 1632) 1370707122 -5.127243038691529 treat image : temp/1751662348_2419863_1370707120_11841deb833452fa7e1509a0705c500d.jpg resize: (1080, 1632) 1370707120 -5.263614130546939 treat image : temp/1751662348_2419863_1370707119_cf917997d885794c92e43be9a54cf9f3.jpg resize: (1080, 1632) 1370707119 -5.276845215240072 treat image : temp/1751662348_2419863_1370707117_6a5fee18957e71ae278d2aaed36f51e3.jpg resize: (1080, 1632) 1370707117 -3.430490251864447 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 : 16 time used for this insertion : 0.013877391815185547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.019046306610107422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.014634370803833008 save missing photos in datou_result : time spend for datou_step_exec : 14.195510387420654 time spend to save output : 0.05230283737182617 total time spend for step 1 : 14.24781322479248 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.98user 4.57system 0:19.02elapsed 87%CPU (0avgtext+0avgdata 138792maxresident)k 3056inputs+7088outputs (29major+211135minor)pagefaults 0swaps