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 : 3378521 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 : 5141>100 please execute split_portfolio.py -i 22406770 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2759758'] with mtr_portfolio_ids : ['22406770'] and first list_photo_ids : [] new path : /proc/3378521/ 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.0265955924987793 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 Mon Apr 28 19:42:32 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/1745862149_3378521_1353888807_1bd9d1798297240e03170a76616dfc6c.jpg resize: (1080, 1632) 1353888807 -3.449232779961178 treat image : temp/1745862149_3378521_1353888774_1d1688b3081faadbfe7505cdacbc1242.jpg resize: (1080, 1632) 1353888774 -4.892537665751901 treat image : temp/1745862149_3378521_1353888742_795fed5810dc3952af66653498d3c359.jpg resize: (1080, 1632) 1353888742 -4.347782228353985 treat image : temp/1745862149_3378521_1353888620_37c08b66d05df418b7d4d4bfb8b633aa.jpg resize: (1080, 1632) 1353888620 -5.300262999444173 treat image : temp/1745862149_3378521_1353888569_61c77b1b07699054f4344d202f0c600b.jpg resize: (1080, 1632) 1353888569 -6.323641887298753 treat image : temp/1745862149_3378521_1353888525_48a2fc6ace11fc9b6bc42d14a1168d73.jpg resize: (1080, 1632) 1353888525 -5.730331380826924 treat image : temp/1745862149_3378521_1353888496_701f1e18dd5fb04f1cf2de7dc7c32884.jpg resize: (1080, 1632) 1353888496 -5.732436893480758 treat image : temp/1745862149_3378521_1353888455_c6a5ab87469aa98b1d376fdc994ec472.jpg resize: (1080, 1632) 1353888455 -4.26540091830114 treat image : temp/1745862149_3378521_1353888397_6f6f5f5361b3810660eb80bb8cf4726f.jpg resize: (1080, 1632) 1353888397 -5.901813222444749 treat image : temp/1745862149_3378521_1353888053_ef98b738db18af5eb365de4de82b3b0e.jpg resize: (1080, 1632) 1353888053 -5.548756535193255 treat image : temp/1745862149_3378521_1353887931_9f0a1571455d1ec14f7b9b3e6adcc4a6.jpg resize: (1080, 1632) 1353887931 -5.545190687946714 treat image : temp/1745862149_3378521_1353887815_77106437e2108b5d43eafd4878ffa7df.jpg resize: (1080, 1632) 1353887815 -6.1832265604820575 treat image : temp/1745862149_3378521_1353887680_9ff3b570f1760dcf62b18c5d63e62e1b.jpg resize: (1080, 1632) 1353887680 -2.131111464701512 treat image : temp/1745862149_3378521_1353887556_c1a99b9ac4664372d73528c5eb6b8ab1.jpg resize: (1080, 1632) 1353887556 -3.895138617991427 treat image : temp/1745862149_3378521_1353887514_09955d9509047de58f5ba91f252135e8.jpg resize: (1080, 1632) 1353887514 -6.318651573873754 treat image : temp/1745862149_3378521_1353887275_0a2f56105a93dc356e0dae293e349321.jpg resize: (1080, 1632) 1353887275 -4.46258562323188 treat image : temp/1745862149_3378521_1353887240_ec29b0057d7beb1476729d85cbb32c1b.jpg resize: (1080, 1632) 1353887240 -5.93492149120613 treat image : temp/1745862149_3378521_1353887212_4453112a4d85d355f1eee77f3ff94bd7.jpg resize: (1080, 1632) 1353887212 -4.398918845468258 treat image : temp/1745862149_3378521_1353887157_0388a721ffe33aef9c86a4a87a7dd3ea.jpg resize: (1080, 1632) 1353887157 -4.985096525637464 treat image : temp/1745862149_3378521_1353887097_7e663b55900dcdfe3f178d7346230a7c.jpg resize: (1080, 1632) 1353887097 -5.4147164945241 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.01564311981201172 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.012978553771972656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015902280807495117 save missing photos in datou_result : time spend for datou_step_exec : 16.7939875125885 time spend to save output : 0.049376726150512695 total time spend for step 1 : 16.843364238739014 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.26user 4.26system 0:23.86elapsed 81%CPU (0avgtext+0avgdata 140200maxresident)k 192inputs+10272outputs (15major+232367minor)pagefaults 0swaps