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 : 3336505 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 : 2303>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3336505/ 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.229658603668213 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 May 21 16:07: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/1747836447_3336505_1360052445_c2096694344399cd8328097594d0b33c.jpg resize: (1080, 1632) 1360052445 -1.5524152744022859 treat image : temp/1747836447_3336505_1360052417_ae64f17d2ff51190e80778b5557d83f2.jpg resize: (1080, 1632) 1360052417 -1.6278626372965819 treat image : temp/1747836447_3336505_1360052401_c7c5dc998862d6da94220fc303e27a88.jpg resize: (1080, 1632) 1360052401 -4.832641031112715 treat image : temp/1747836447_3336505_1360052396_a7520947d5ddccedc1f3a111d57d8b26.jpg resize: (1080, 1632) 1360052396 -4.210561210787969 treat image : temp/1747836447_3336505_1360052271_7589f6852c85ec2f594c660cd84413fa.jpg resize: (1080, 1632) 1360052271 -6.054097712196458 treat image : temp/1747836447_3336505_1360052268_2566ae628e7d831f84a243cf4e274e41.jpg resize: (1080, 1632) 1360052268 -5.0157042936350935 treat image : temp/1747836447_3336505_1360052263_a4d8acd2c92ca3085961ba88da66671e.jpg resize: (1080, 1632) 1360052263 -5.795426387201272 treat image : temp/1747836447_3336505_1360052258_00a4add3b1d5ceed65729a085325bca4.jpg resize: (1080, 1632) 1360052258 -4.891832294950735 treat image : temp/1747836447_3336505_1360052253_4eee3e768868f979f391065b116aee19.jpg resize: (1080, 1632) 1360052253 -3.3485883179833467 treat image : temp/1747836447_3336505_1360052227_8d9d75514a258c4b8eae01281f35cacb.jpg resize: (1080, 1632) 1360052227 -4.462268274719443 treat image : temp/1747836447_3336505_1360052222_914c289c1494eb9d366644ade97c8f76.jpg resize: (1080, 1632) 1360052222 -5.801782112507555 treat image : temp/1747836447_3336505_1360052216_9f095d1c6fe9ce516950ead510063d6f.jpg resize: (1080, 1632) 1360052216 -6.029973868509899 treat image : temp/1747836447_3336505_1360052210_b87393f50a6f5486b62f0bbaf26c1dd9.jpg resize: (1080, 1632) 1360052210 -3.4283932754109845 treat image : temp/1747836447_3336505_1360052188_c5ce7a378ad3de3485016865f92f04c0.jpg resize: (1080, 1632) 1360052188 -3.5836280461911953 treat image : temp/1747836447_3336505_1360052186_2cb9499709aee893ebe367102fa91805.jpg resize: (1080, 1632) 1360052186 -6.032611786277953 treat image : temp/1747836447_3336505_1360052182_9f504c087753b5e8441e30d67f3dd451.jpg resize: (1080, 1632) 1360052182 -5.781581581509373 treat image : temp/1747836447_3336505_1360052178_83d38c0ce17c083b904c72b80f8bae82.jpg resize: (1080, 1632) 1360052178 -4.083082322984308 treat image : temp/1747836447_3336505_1360052174_a641218128d5bbfd3ca3543579477130.jpg resize: (1080, 1632) 1360052174 -4.823096611169113 treat image : temp/1747836447_3336505_1360052118_f170f93904a38da5d5b4b1e9b81cbdfc.jpg resize: (1080, 1632) 1360052118 -1.9356151962793744 treat image : temp/1747836447_3336505_1360052091_e4e0816696d4b5de8347a2fc88d26159.jpg resize: (1080, 1632) 1360052091 -2.789673256731776 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.013153553009033203 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.013550043106079102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014916419982910156 save missing photos in datou_result : time spend for datou_step_exec : 20.642149448394775 time spend to save output : 0.04624128341674805 total time spend for step 1 : 20.688390731811523 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 8.34system 0:25.53elapsed 89%CPU (0avgtext+0avgdata 138620maxresident)k 0inputs+9592outputs (9major+258700minor)pagefaults 0swaps