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 : 306945 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 : 2327>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/306945/ 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.202486991882324 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 Feb 7 17:02: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/1738944149_306945_1335554093_dc6ccde9d0fb49dd625cffdb8025f84d.jpg resize: (1080, 1632) 1335554093 -5.749096120070785 treat image : temp/1738944149_306945_1335554089_c85b35cf49ee57b79f779ca1c1e07ac6.jpg resize: (1080, 1632) 1335554089 -5.616794065139223 treat image : temp/1738944149_306945_1335554086_2ce32ec8154600b7fb3dc870cd6e29d7.jpg resize: (1080, 1632) 1335554086 -3.336378107708099 treat image : temp/1738944149_306945_1335554054_78a47f171b26b7191fade422f6ff7442.jpg resize: (1080, 1632) 1335554054 -5.4294161838411386 treat image : temp/1738944149_306945_1335554050_0ee91ddafd1daf45e4c2a33a9475e347.jpg resize: (1080, 1632) 1335554050 -4.5567201509208095 treat image : temp/1738944149_306945_1335554044_0346fee3242ef42c079bd5260ccf71ed.jpg resize: (1080, 1632) 1335554044 -5.821293750543046 treat image : temp/1738944149_306945_1335553997_265138173d72fb62c147f1d22e14f55a.jpg resize: (1080, 1632) 1335553997 -2.687771439283478 treat image : temp/1738944149_306945_1335553993_56e519f1c4cb87552a6071eb2f86a483.jpg resize: (1080, 1632) 1335553993 -3.491525921846526 treat image : temp/1738944149_306945_1335553989_65cccd95eb25fb9e78d45be623f93c4c.jpg resize: (1080, 1632) 1335553989 -4.529747770044816 treat image : temp/1738944149_306945_1335552991_1f6957cd7b111d959cd1ae7fbaa4844f.jpg resize: (1080, 1632) 1335552991 -6.378140674989859 treat image : temp/1738944149_306945_1335552983_82bafc15a8f25d22124e9b1284785d51.jpg resize: (1080, 1632) 1335552983 -6.411875057710594 treat image : temp/1738944149_306945_1335552956_319f6d0cedd1cbd961280918789d0e38.jpg resize: (1080, 1632) 1335552956 -6.089138002253079 treat image : temp/1738944149_306945_1335552952_32125ea33534fcf068cfd2f2e2866ac4.jpg resize: (1080, 1632) 1335552952 -6.125928795475143 treat image : temp/1738944149_306945_1335552947_0caefd2b32360a4157461551ba1d01ef.jpg resize: (1080, 1632) 1335552947 -6.116517175716947 treat image : temp/1738944149_306945_1335552943_48ad7828ddfc27937f271d1929e901d7.jpg resize: (1080, 1632) 1335552943 -5.845139256227606 treat image : temp/1738944149_306945_1335552940_54c461fd21da717033fd7ca4f14b5f12.jpg resize: (1080, 1632) 1335552940 -6.241312066952754 treat image : temp/1738944149_306945_1335552925_3c2e570cb5d5de270a8a982c0aca9d83.jpg resize: (1080, 1632) 1335552925 -4.052569773425035 treat image : temp/1738944149_306945_1335552922_d05de4626d186b77ae480cff4b14721b.jpg resize: (1080, 1632) 1335552922 -4.734294393031987 treat image : temp/1738944149_306945_1335552917_96bea3d0b817670a1238d298f2b2cff7.jpg resize: (1080, 1632) 1335552917 -6.048906893267989 treat image : temp/1738944149_306945_1335552913_fc3545ebded9d9e29fdce8c24528b131.jpg resize: (1080, 1632) 1335552913 -6.054533154911208 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.01304173469543457 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.01338648796081543 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0190277099609375 save missing photos in datou_result : time spend for datou_step_exec : 17.016395568847656 time spend to save output : 0.2994546890258789 total time spend for step 1 : 17.315850257873535 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.24user 4.75system 0:23.17elapsed 86%CPU (0avgtext+0avgdata 139976maxresident)k 9768inputs+10648outputs (14major+248931minor)pagefaults 0swaps