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 : 2654590 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 : 3033>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2654590/ 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 : 1.9445011615753174 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 Thu Mar 6 17:52: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/1741279947_2654590_1341271782_3557ba71fe8c78008dacbed5f688b611.jpg resize: (1080, 1632) 1341271782 -5.461965917273658 treat image : temp/1741279947_2654590_1341271779_3e7996667dee869b681759574f5f97d8.jpg resize: (1080, 1632) 1341271779 -5.461965917273658 treat image : temp/1741279947_2654590_1341271778_c2377dc85de38e2eceecee534b3911b9.jpg resize: (1080, 1632) 1341271778 -5.300024053392126 treat image : temp/1741279947_2654590_1341271762_6d7c1b2584de0ee4ec0fe2762f809504.jpg resize: (1080, 1632) 1341271762 -3.9110694857351342 treat image : temp/1741279947_2654590_1341271761_2b500254e9b066390edc3651fe62efb2.jpg resize: (1080, 1632) 1341271761 -5.300024053392126 treat image : temp/1741279947_2654590_1341271757_65206d8342e9071ec608af0096ddf854.jpg resize: (1080, 1632) 1341271757 -3.9110694857351342 treat image : temp/1741279947_2654590_1341271756_0ab8587ee6f8b0a02ead15ffbb504075.jpg resize: (1080, 1632) 1341271756 -5.543765548715289 treat image : temp/1741279947_2654590_1341271753_dd0c29b30950fccef0a838b7859950cb.jpg resize: (1080, 1632) 1341271753 -5.543765548715289 treat image : temp/1741279947_2654590_1341271752_6ea394c90ece83b9babace0e67aa9f3a.jpg resize: (1080, 1632) 1341271752 -5.351841935462408 treat image : temp/1741279947_2654590_1341271751_89d7c28a9e789819d215ced1bf2e4291.jpg resize: (1080, 1632) 1341271751 -5.351841935462408 treat image : temp/1741279947_2654590_1341271749_e23e22ce13dcea31b6b2f778c4f19b51.jpg resize: (1080, 1632) 1341271749 -1.6799126591116462 treat image : temp/1741279947_2654590_1341271745_cefba241106fdd87e1bd6d8e0f755644.jpg resize: (1080, 1632) 1341271745 -1.6799126591116462 treat image : temp/1741279947_2654590_1341271735_a1472c148e23a352e93719b2f9f73776.jpg resize: (1080, 1632) 1341271735 -2.3235383792583915 treat image : temp/1741279947_2654590_1341271728_d80eddaa4b898d60349af03c6f5f7c4e.jpg resize: (1080, 1632) 1341271728 -3.4964256813791508 treat image : temp/1741279947_2654590_1341271725_77ca01da45cd1bcb0faf99c21d3d029c.jpg resize: (1080, 1632) 1341271725 -5.1523569153806426 treat image : temp/1741279947_2654590_1341271722_cbdd20d0dd4b92c5f531927e15447de3.jpg resize: (1080, 1632) 1341271722 -6.19159163113734 treat image : temp/1741279947_2654590_1341271699_18aefe6a443e6e8b8fa5bb89013f0e3d.jpg resize: (1080, 1632) 1341271699 -5.121491788575903 treat image : temp/1741279947_2654590_1341271694_ab66af94284ecd5eb88ba997de478ede.jpg resize: (1080, 1632) 1341271694 -6.043649831353979 treat image : temp/1741279947_2654590_1341271639_08e08dc7d58a554ff01425ed91f882af.jpg resize: (1080, 1632) 1341271639 -5.578586137632261 treat image : temp/1741279947_2654590_1341271621_1cfe388bd25232a786866f878b10ee97.jpg resize: (1080, 1632) 1341271621 -5.991135218171651 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.014021158218383789 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.012937068939208984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01486968994140625 save missing photos in datou_result : time spend for datou_step_exec : 18.733012199401855 time spend to save output : 0.046846866607666016 total time spend for step 1 : 18.77985906600952 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.40user 6.19system 0:23.17elapsed 93%CPU (0avgtext+0avgdata 140432maxresident)k 224inputs+10192outputs (4major+256438minor)pagefaults 0swaps