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 : 286776 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/286776/ 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 : 3.514241933822632 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 Sep 17 03:12: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/1758071548_286776_1359488303_3de4ef7b031087c43f27a7d789b159aa.jpg resize: (1080, 1632) 1359488303 -6.293751089347601 treat image : temp/1758071548_286776_1359487774_18eff5e85b7d266bebfdcb7b94c48fa2.jpg resize: (1080, 1632) 1359487774 -6.293719264390567 treat image : temp/1758071548_286776_1359487724_46b7e6f95de6d62a0fc39bbfe32c6724.jpg resize: (1080, 1632) 1359487724 -3.9548357333940576 treat image : temp/1758071548_286776_1359487660_a79e85301fc9bc2e1cf65d4b6858331b.jpg resize: (1080, 1632) 1359487660 -6.690816158933366 treat image : temp/1758071548_286776_1359487611_7c06158abc664cf9bef62d9e5b07e411.jpg resize: (1080, 1632) 1359487611 -5.202385673119517 treat image : temp/1758071548_286776_1359487556_75f8490f0a026a383d18b011c3dba61e.jpg resize: (1080, 1632) 1359487556 -5.30196099920389 treat image : temp/1758071548_286776_1359487120_ca4b304f1591eea55337e7405d0fcefc.jpg resize: (1080, 1632) 1359487120 -1.3468010015280822 treat image : temp/1758071548_286776_1359487116_e0f8fba36d5aa5582e6d6f28c67671c2.jpg resize: (1080, 1632) 1359487116 -1.7240241972905939 treat image : temp/1758071548_286776_1359487112_1569fb96917550f1c4eee0486fc755f7.jpg resize: (1080, 1632) 1359487112 -4.09764804136787 treat image : temp/1758071548_286776_1359487107_bddbe456fb833603bc148b8c279cea38.jpg resize: (1080, 1632) 1359487107 -5.646166331823402 treat image : temp/1758071548_286776_1359487078_93003ad31e26f9aa62ab61fa11969d12.jpg resize: (1080, 1632) 1359487078 -4.500790775967999 treat image : temp/1758071548_286776_1359487055_1bd018c313fdcce0642879ac253c8cd4.jpg resize: (1080, 1632) 1359487055 -5.485115128044553 treat image : temp/1758071548_286776_1359487024_ab6f79c53cf06799486b1d7b26473788.jpg resize: (1080, 1632) 1359487024 -2.500397070314064 treat image : temp/1758071548_286776_1359486992_256dee3bb616e879d5673ff0bf09386b.jpg resize: (1080, 1632) 1359486992 -5.599323047028522 treat image : temp/1758071548_286776_1359486964_575833f5c576130179e4221f9690ad6c.jpg resize: (1080, 1632) 1359486964 -5.555158522007332 treat image : temp/1758071548_286776_1359486556_bf0d8815342b9d8567c49ac949ab7d23.jpg resize: (1080, 1632) 1359486556 -5.031562677305368 treat image : temp/1758071548_286776_1359486504_2397cdc524c68a162ceee43a9a796981.jpg resize: (1080, 1632) 1359486504 -4.983893941758218 treat image : temp/1758071548_286776_1359486462_94df2a3a98d4c180496b8e813850200d.jpg resize: (1080, 1632) 1359486462 -4.493469634875399 treat image : temp/1758071548_286776_1359486434_87ce701d6606074247814955589a859a.jpg resize: (1080, 1632) 1359486434 -2.4863172649709915 treat image : temp/1758071548_286776_1359485960_948eba4889d7b602396ce56358ea49d2.jpg resize: (1080, 1632) 1359485960 -1.981715500657536 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.012632608413696289 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.015978097915649414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01497197151184082 save missing photos in datou_result : time spend for datou_step_exec : 14.843164443969727 time spend to save output : 0.04944276809692383 total time spend for step 1 : 14.89260721206665 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 3.32system 0:21.49elapsed 80%CPU (0avgtext+0avgdata 137448maxresident)k 120inputs+9800outputs (11major+253132minor)pagefaults 0swaps