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 : 2858791 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 : 913>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2858791/ 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.8050177097320557 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 Feb 18 09:27:32 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/1739867250_2858791_1338299143_a9ed20fa337b693aa2cf76fe98d2852c.jpg resize: (1080, 1632) 1338299143 -4.043636622554232 treat image : temp/1739867250_2858791_1338299140_608d744daae93b804d4a77a00709aa17.jpg resize: (1080, 1632) 1338299140 -5.055686581823645 treat image : temp/1739867250_2858791_1338299136_1606b73da74319e2c6fb5b5d86d6c62a.jpg resize: (1080, 1632) 1338299136 -5.877090798690491 treat image : temp/1739867250_2858791_1338299134_6a8062ea75c2013b1c6af49345e05444.jpg resize: (1080, 1632) 1338299134 -3.903378381758353 treat image : temp/1739867250_2858791_1338299130_437a294ef9cf0cca1d42566c7f77820d.jpg resize: (1080, 1632) 1338299130 -6.284075610279758 treat image : temp/1739867250_2858791_1338299103_fb17fb897982ca913510759226135125.jpg resize: (1080, 1632) 1338299103 -2.4028787214837624 treat image : temp/1739867250_2858791_1338299100_88fae4c4eb3f2ed311ec30998ab61786.jpg resize: (1080, 1632) 1338299100 -4.113908686817611 treat image : temp/1739867250_2858791_1338299071_d027126710cb71daaee45611e44267ed.jpg resize: (1080, 1632) 1338299071 -4.537415354092997 treat image : temp/1739867250_2858791_1338299067_37b9ce4e22f880fee85a8aefe1c70e53.jpg resize: (1080, 1632) 1338299067 -1.8710938225682674 treat image : temp/1739867250_2858791_1338299054_2abb909b1eeda66f63c5f50fc82f3de6.jpg resize: (1080, 1632) 1338299054 -6.713365099520297 treat image : temp/1739867250_2858791_1338299051_3871973394935690092f30d522ad468c.jpg resize: (1080, 1632) 1338299051 -6.4011552682740795 treat image : temp/1739867250_2858791_1338299045_2e77cdff67aaf2fa0f38716f0ba19665.jpg resize: (1080, 1632) 1338299045 -4.384947000455723 treat image : temp/1739867250_2858791_1338299039_6fa9982dbe1c4c82b1b484c2fbade932.jpg resize: (1080, 1632) 1338299039 -6.611791257340693 treat image : temp/1739867250_2858791_1338299033_7903c2d51897651ce7498fa910334d1a.jpg resize: (1080, 1632) 1338299033 -6.0994116823977444 treat image : temp/1739867250_2858791_1338299028_17f7bee2a5576627c4fc4fc7c8ebd916.jpg resize: (1080, 1632) 1338299028 -6.081250196886434 treat image : temp/1739867250_2858791_1338299009_18b3598dd77e1b4c84204da6ab595c12.jpg resize: (1080, 1632) 1338299009 -2.4877331924461075 treat image : temp/1739867250_2858791_1338299004_2721290f00f200af402ef6a9b0d8620e.jpg resize: (1080, 1632) 1338299004 -3.2463184477833744 treat image : temp/1739867250_2858791_1338298999_a8b0f8f3da80aade0100454740d3be2a.jpg resize: (1080, 1632) 1338298999 -5.773520035185672 treat image : temp/1739867250_2858791_1338298994_d024f4bd77276056cfe328e8fde43f42.jpg resize: (1080, 1632) 1338298994 -4.634542547221988 treat image : temp/1739867250_2858791_1338298993_fc037bc8a4db4892d8e9b68369986ea1.jpg resize: (1080, 1632) 1338298993 -6.017478279901465 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.013883829116821289 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.013418197631835938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.8666749000549316 save missing photos in datou_result : time spend for datou_step_exec : 17.694364070892334 time spend to save output : 1.8994314670562744 total time spend for step 1 : 19.59379553794861 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.92user 5.31system 0:26.65elapsed 75%CPU (0avgtext+0avgdata 139320maxresident)k 3120inputs+10696outputs (47major+260808minor)pagefaults 0swaps