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 : 1200659 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 : 1413>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1200659/ 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.461235523223877 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 May 6 17:32:29 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/1746545547_1200659_1356363524_73a77f17d03faf408a1571c5c085ae0a.jpg resize: (1080, 1632) 1356363524 -5.896078402923111 treat image : temp/1746545547_1200659_1356363514_28249cf584be0de43a2cd191b7a60e97.jpg resize: (1080, 1632) 1356363514 -5.955320350229264 treat image : temp/1746545547_1200659_1356363498_9e5f00d517d273a89ac52560e1bb7627.jpg resize: (1080, 1632) 1356363498 -6.172180699054039 treat image : temp/1746545547_1200659_1356363489_276f3ff3b3fcea6a547647dc79ff125c.jpg resize: (1080, 1632) 1356363489 -6.210587667432851 treat image : temp/1746545547_1200659_1356363484_08072402fb6af441841e78c2fd711a41.jpg resize: (1080, 1632) 1356363484 -1.4819718755787636 treat image : temp/1746545547_1200659_1356363478_aacdf73b6b015b31db930d7cfa7cd3cf.jpg resize: (1080, 1632) 1356363478 -1.3696014250822401 treat image : temp/1746545547_1200659_1356363464_adfc1f2c9a54cc31452038dedb65da95.jpg resize: (1080, 1632) 1356363464 -5.1490477748493655 treat image : temp/1746545547_1200659_1356363459_0c69451d0f568a4e29d427f2f75fe7f8.jpg resize: (1080, 1632) 1356363459 -6.301307751373746 treat image : temp/1746545547_1200659_1356363455_4d064e08df7fe22e6a33c39d9dec4497.jpg resize: (1080, 1632) 1356363455 -6.192778645173945 treat image : temp/1746545547_1200659_1356363444_c0ca2f1f8a676746a6df45ad0f91d174.jpg resize: (1080, 1632) 1356363444 -6.175760561927395 treat image : temp/1746545547_1200659_1356363437_fee230be4f031b93118a26295ed62fa9.jpg resize: (1080, 1632) 1356363437 -5.777784592675989 treat image : temp/1746545547_1200659_1356363404_0b634f512de220a75e6a8feab8784bc9.jpg resize: (1080, 1632) 1356363404 -6.002959642740731 treat image : temp/1746545547_1200659_1356363324_32e3972c572c43521e11bbec8aee1917.jpg resize: (1080, 1632) 1356363324 -5.4888793339158255 treat image : temp/1746545547_1200659_1356363259_9c3a69fdef26e182cb4d33ff06c480c7.jpg resize: (1080, 1632) 1356363259 -1.6346892240337134 treat image : temp/1746545547_1200659_1356363248_93c4cd0e4c4266b4c9ec5c958c6cf122.jpg resize: (1080, 1632) 1356363248 -6.398591603277597 treat image : temp/1746545547_1200659_1356363241_4bba4f5c1eaa601ab4283f310e524d7b.jpg resize: (1080, 1632) 1356363241 -6.283298048257552 treat image : temp/1746545547_1200659_1356363237_d3135d5e39baf092898422308ba8a2cd.jpg resize: (1080, 1632) 1356363237 -4.192603232245711 treat image : temp/1746545547_1200659_1356363235_1b7f4d0844a7835a7d323df7c0d03d97.jpg resize: (1080, 1632) 1356363235 -5.849061648772286 treat image : temp/1746545547_1200659_1356363223_6906ef2452f47c67e3de8fd54d87e659.jpg resize: (1080, 1632) 1356363223 -5.124129749081437 treat image : temp/1746545547_1200659_1356363218_ba63b401f66965179f0eca9f0a5dc3fa.jpg resize: (1080, 1632) 1356363218 -3.14511640241404 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.01316523551940918 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.0213620662689209 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01591801643371582 save missing photos in datou_result : time spend for datou_step_exec : 17.548694372177124 time spend to save output : 0.06492066383361816 total time spend for step 1 : 17.613615036010742 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.47user 5.05system 0:22.50elapsed 91%CPU (0avgtext+0avgdata 140772maxresident)k 17016inputs+10688outputs (117major+260623minor)pagefaults 0swaps