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 : 813445 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 : 4517>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/813445/ 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.719043731689453 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 Wed Jul 30 18:52: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/1753894348_813445_1374460501_5d960ac0e805aa3f297c35bba050d70d.jpg resize: (1080, 1632) 1374460501 -4.492207264725692 treat image : temp/1753894348_813445_1374460468_346a9ebf6f079c8d5198686f4874c364.jpg resize: (1080, 1632) 1374460468 -5.322597895847513 treat image : temp/1753894348_813445_1374460444_d21a8fb0e109b2eb5d16b38d6cde3487.jpg resize: (1080, 1632) 1374460444 -1.5077132007282021 treat image : temp/1753894348_813445_1374460422_2ae7b7ec1a9a337f1cfc30bb52953c9b.jpg resize: (1080, 1632) 1374460422 -3.0368153662247743 treat image : temp/1753894348_813445_1374460403_9d8db881664f4c87205503a34819e801.jpg resize: (1080, 1632) 1374460403 -2.469375631479396 treat image : temp/1753894348_813445_1374460398_eafbed550c04ce86a20b664f942625dc.jpg resize: (1080, 1632) 1374460398 -0.9487791520243961 treat image : temp/1753894348_813445_1374453458_73457c12ff69a22cb29bbc0379787f6e.jpg resize: (1080, 1632) 1374453458 -5.882737995297789 treat image : temp/1753894348_813445_1374453455_769b66b86464f940d096e8f76249f674.jpg resize: (1080, 1632) 1374453455 -5.926268449138375 treat image : temp/1753894348_813445_1374453452_62249934462c3ea24d9be5e6a19d63ba.jpg resize: (1080, 1632) 1374453452 -5.931332015703785 treat image : temp/1753894348_813445_1374453433_ae115b05b2da9c8143999acb0555e3e7.jpg resize: (1080, 1632) 1374453433 -5.627737992078834 treat image : temp/1753894348_813445_1374453429_fe2bad84832ced538fb8b461cbc90e6e.jpg resize: (1080, 1632) 1374453429 -5.118040223541425 treat image : temp/1753894348_813445_1374453427_c2b6feafafde2eda5f450f418e8c97bc.jpg resize: (1080, 1632) 1374453427 -3.894168561043453 treat image : temp/1753894348_813445_1374453426_d379338075bc2fef2dee0d2bb4b94343.jpg resize: (1080, 1632) 1374453426 -4.384726119293865 treat image : temp/1753894348_813445_1374453424_cdde5171de8c38d99711662b9cd6c80b.jpg resize: (1080, 1632) 1374453424 -6.576708251794554 treat image : temp/1753894348_813445_1374453423_391dc3cfd61fd10ddef23b9cd59cee96.jpg resize: (1080, 1632) 1374453423 -5.577271823838819 treat image : temp/1753894348_813445_1374453409_09a688c498de65f447d9b39ceab9175d.jpg resize: (1080, 1632) 1374453409 -4.050624437725883 treat image : temp/1753894348_813445_1374453405_e3bfe57c83df3fc4a75af3316eeb11e1.jpg resize: (1080, 1632) 1374453405 -4.1580542889497885 treat image : temp/1753894348_813445_1374453402_00473d8d07064287f996f58389d4744d.jpg resize: (1080, 1632) 1374453402 -5.33163036788143 treat image : temp/1753894348_813445_1374453400_99f78ddba5521b09224dca54dc53da4e.jpg resize: (1080, 1632) 1374453400 -5.286362211802612 treat image : temp/1753894348_813445_1374453398_06193355dc04f541c5825dd0a231b941.jpg resize: (1080, 1632) 1374453398 -5.293100039571306 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.04216599464416504 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.0440974235534668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04459047317504883 save missing photos in datou_result : time spend for datou_step_exec : 14.954891681671143 time spend to save output : 0.15105414390563965 total time spend for step 1 : 15.105945825576782 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 2.93system 0:21.46elapsed 79%CPU (0avgtext+0avgdata 138712maxresident)k 952inputs+9816outputs (29major+202898minor)pagefaults 0swaps