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 : 1775863 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 : 760>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1775863/ 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.221932888031006 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 Thu May 22 08:02: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/1747893747_1775863_1360439665_eec8c7218804ff283b93b7d6389d5611.jpg resize: (1080, 1632) 1360439665 -1.5504071650984235 treat image : temp/1747893747_1775863_1360439654_d33baf2d335e11f820c1e412c3a99fad.jpg resize: (1080, 1632) 1360439654 -1.668115880771833 treat image : temp/1747893747_1775863_1360439651_153f097c91dffdaf7844b0e9c9d394f7.jpg resize: (1080, 1632) 1360439651 -4.907639590163443 treat image : temp/1747893747_1775863_1360439647_b4e69142aa081a66839f47ed6950fcc8.jpg resize: (1080, 1632) 1360439647 -5.046552072046 treat image : temp/1747893747_1775863_1360439643_46b7fdc1d3f583a739085c41e59315f7.jpg resize: (1080, 1632) 1360439643 -6.372298440381282 treat image : temp/1747893747_1775863_1360439641_558b0dfd7e8a157f3316c81f404cbb1f.jpg resize: (1080, 1632) 1360439641 -6.469434478633641 treat image : temp/1747893747_1775863_1360439638_3bedc05bed26b0394115dad18d1d6c59.jpg resize: (1080, 1632) 1360439638 -6.375984959856711 treat image : temp/1747893747_1775863_1360439632_75e3717c195b6072d1f3e3d7728a2143.jpg resize: (1080, 1632) 1360439632 -5.402521140309134 treat image : temp/1747893747_1775863_1360439626_8613109b61fc52f8d6b7386ed6293c19.jpg resize: (1080, 1632) 1360439626 -5.527575307580667 treat image : temp/1747893747_1775863_1360439622_e4215715a2b0476a64e58aebcce90b17.jpg resize: (1080, 1632) 1360439622 -5.7198732179472245 treat image : temp/1747893747_1775863_1360439584_22eb741ea497c6f338e5fb55dbcc0bed.jpg resize: (1080, 1632) 1360439584 -5.063039524160856 treat image : temp/1747893747_1775863_1360439579_b1f4bbb4fb83e08af7989cbe93d22a65.jpg resize: (1080, 1632) 1360439579 -5.784970801652294 treat image : temp/1747893747_1775863_1360439574_7763931da42ffb80bbd202bfa3b354a3.jpg resize: (1080, 1632) 1360439574 -5.914985605885134 treat image : temp/1747893747_1775863_1360439567_93c559f1b5214653ac5de5a446b638c6.jpg resize: (1080, 1632) 1360439567 -5.177113408524077 treat image : temp/1747893747_1775863_1360439563_8198a2a7c7ee2147c68c9cfac5f40999.jpg resize: (1080, 1632) 1360439563 -1.3912450629639348 treat image : temp/1747893747_1775863_1360439345_ab62864c2b08c9b5b72ffed7e5fe16a2.jpg resize: (1080, 1632) 1360439345 -3.2146712869824867 treat image : temp/1747893747_1775863_1360439282_bc74826128303a354077c7473ac012c6.jpg resize: (1080, 1632) 1360439282 -5.967046787573367 treat image : temp/1747893747_1775863_1360439219_f51109e7aa63a93b11bb4c3b8c4ac1c7.jpg resize: (1080, 1632) 1360439219 -5.634926174216042 treat image : temp/1747893747_1775863_1360439172_e20090c64ea954bd93c286826f980cb9.jpg resize: (1080, 1632) 1360439172 -4.957276343776708 treat image : temp/1747893747_1775863_1360439075_87a29ab62ab50f698d5d25f6ec897e6c.jpg resize: (1080, 1632) 1360439075 -5.591026029225016 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.013811588287353516 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.045954227447509766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015942096710205078 save missing photos in datou_result : time spend for datou_step_exec : 17.901251077651978 time spend to save output : 0.0800628662109375 total time spend for step 1 : 17.981313943862915 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.13user 5.42system 0:21.92elapsed 93%CPU (0avgtext+0avgdata 137572maxresident)k 352inputs+10448outputs (11major+255328minor)pagefaults 0swaps