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 : 1653983 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 : 420>100 please execute split_portfolio.py -i 22447564 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2763831'] with mtr_portfolio_ids : ['22447564'] and first list_photo_ids : [] new path : /proc/1653983/ 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.3250362873077393 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 Apr 28 11:57: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/1745834249_1653983_1353876534_f084a43c9039cab05a92dd6e933533b4.jpg resize: (1080, 1632) 1353876534 -5.715646631355215 treat image : temp/1745834249_1653983_1353876521_9346e755198edef548f8195407fdc7d6.jpg resize: (1080, 1632) 1353876521 -5.6748886536255565 treat image : temp/1745834249_1653983_1353876518_622f6e92ddfced09e8c625c3e76251bb.jpg resize: (1080, 1632) 1353876518 -5.40484426245636 treat image : temp/1745834249_1653983_1353876488_ef690bbbb35619d4717105034faa2676.jpg resize: (1080, 1632) 1353876488 -5.385468117105324 treat image : temp/1745834249_1653983_1353876430_70931fd2fd722916cae59f0533c3afa5.jpg resize: (1080, 1632) 1353876430 -5.968421649982901 treat image : temp/1745834249_1653983_1353876398_c5d6806a8345e476d05c9cb05a593810.jpg resize: (1080, 1632) 1353876398 -6.193914554274911 treat image : temp/1745834249_1653983_1353876366_359cf31911f919583454c1e18ebbd605.jpg resize: (1080, 1632) 1353876366 -6.150706367277734 treat image : temp/1745834249_1653983_1353876361_4d71f5d1d93441668d54bea03c21da16.jpg resize: (1080, 1632) 1353876361 -5.8927956543303885 treat image : temp/1745834249_1653983_1353876338_c3de008bed6a5f227dc8fbf34cddf624.jpg resize: (1080, 1632) 1353876338 -5.04676716775856 treat image : temp/1745834249_1653983_1353876325_c948ac5d3d2279526f7d9c4ed6b75d23.jpg resize: (1080, 1632) 1353876325 -4.686454896416827 treat image : temp/1745834249_1653983_1353875796_4685fb29b5716b3511e06522837b6f58.jpg resize: (1080, 1632) 1353875796 -4.601728506502285 treat image : temp/1745834249_1653983_1353875791_3a64559f4cc05086e3c252aef092c3ee.jpg resize: (1080, 1632) 1353875791 -4.623736710496888 treat image : temp/1745834249_1653983_1353875786_bac97e858e3a6e5558e676a88f4e550b.jpg resize: (1080, 1632) 1353875786 -4.8253511767534345 treat image : temp/1745834249_1653983_1353875702_3175804c0728da04884b94c3e62b70e8.jpg resize: (1080, 1632) 1353875702 -4.9939944432669385 treat image : temp/1745834249_1653983_1353875534_eceb9afac7f4db03ce579a91ede22ede.jpg resize: (1080, 1632) 1353875534 -4.693674059890314 treat image : temp/1745834249_1653983_1353875483_fae3a16646b1d156b3d26ddd20d4da06.jpg resize: (1080, 1632) 1353875483 -4.561884576032923 treat image : temp/1745834249_1653983_1353875404_8a7fa99cd3631001e844eef9f7885987.jpg resize: (1080, 1632) 1353875404 -3.18644774875127 treat image : temp/1745834249_1653983_1353875334_70eb97097c4e679407da3483784df9f1.jpg resize: (1080, 1632) 1353875334 -5.286767135855674 treat image : temp/1745834249_1653983_1353875286_ea9117b8c72e22241a54b966dbc4f594.jpg resize: (1080, 1632) 1353875286 -3.693109080233061 treat image : temp/1745834249_1653983_1353875231_2ebf06e6a3cf6d29e89ebf21fe87e6ac.jpg resize: (1080, 1632) 1353875231 -5.674381274733469 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.012453794479370117 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.012101888656616211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014827251434326172 save missing photos in datou_result : time spend for datou_step_exec : 15.809152364730835 time spend to save output : 0.04408407211303711 total time spend for step 1 : 15.853236436843872 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 3.51system 0:22.45elapsed 83%CPU (0avgtext+0avgdata 139092maxresident)k 256inputs+10040outputs (8major+191683minor)pagefaults 0swaps