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 : 4191019 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 : 3083>100 please execute split_portfolio.py -i 20820380 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2614192'] with mtr_portfolio_ids : ['20820380'] and first list_photo_ids : [] new path : /proc/4191019/ 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.1692936420440674 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 Feb 26 19:52: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/1740595949_4191019_1339781558_ba5c51e3245b35a23e55082ea5e55697.jpg resize: (1080, 1632) 1339781558 -4.4468124790727215 treat image : temp/1740595949_4191019_1339781555_92358e925cfb14d92823dd397cb61816.jpg resize: (1080, 1632) 1339781555 -3.8038201575056285 treat image : temp/1740595949_4191019_1339781552_14f783b6e4952112bef8a0268d866b9f.jpg resize: (1080, 1632) 1339781552 -4.1029696726996905 treat image : temp/1740595949_4191019_1339781549_9547e7f5415b44ce0d8c9332055a545e.jpg resize: (1080, 1632) 1339781549 -2.309982425769884 treat image : temp/1740595949_4191019_1339781480_b08d3778583804cbfa1a2a4712f4ae88.jpg resize: (1080, 1632) 1339781480 -5.689642839097634 treat image : temp/1740595949_4191019_1339781465_6ec2d162898756de6211cb9e261e9e55.jpg resize: (1080, 1632) 1339781465 -5.605004935996604 treat image : temp/1740595949_4191019_1339781463_0666590c1295e347f1b182c0d95062f0.jpg resize: (1080, 1632) 1339781463 -6.152442386182818 treat image : temp/1740595949_4191019_1339781448_2c1c323ff9e738ad76c5b7574d2d2fdd.jpg resize: (1080, 1632) 1339781448 -6.047653503944123 treat image : temp/1740595949_4191019_1339781422_31bdcc60993b43f82114c465bbaa5ffd.jpg resize: (1080, 1632) 1339781422 -5.526771414727076 treat image : temp/1740595949_4191019_1339781412_9febef5db5b21e9b0324e6996a7dea3e.jpg resize: (1080, 1632) 1339781412 -5.896138908948115 treat image : temp/1740595949_4191019_1339781364_c5d9ecea81b932db08c102b6bd70cc5e.jpg resize: (1080, 1632) 1339781364 -6.140095542445379 treat image : temp/1740595949_4191019_1339781361_c1c4758e5c528329c4c982083f608517.jpg resize: (1080, 1632) 1339781361 -6.285119982813864 treat image : temp/1740595949_4191019_1339781357_0cd1ef5b7b85cc6773debde4f6e91b92.jpg resize: (1080, 1632) 1339781357 -2.683166315784074 treat image : temp/1740595949_4191019_1339781353_ff0711428216ba41a3710d26232f488e.jpg resize: (1080, 1632) 1339781353 -3.900383535734454 treat image : temp/1740595949_4191019_1339781283_c8a122d539a2fba7253db0bf432856cb.jpg resize: (1080, 1632) 1339781283 -6.133365939462166 treat image : temp/1740595949_4191019_1339781282_a20682cd385a9ab4fb5287d7c1ca23fb.jpg resize: (1080, 1632) 1339781282 -4.858051975849319 treat image : temp/1740595949_4191019_1339781280_a2bed3522044aff582df3ff2250c14be.jpg resize: (1080, 1632) 1339781280 -5.910654206219985 treat image : temp/1740595949_4191019_1339781276_d8d551b5dfcc67db5552b0c88579eb19.jpg resize: (1080, 1632) 1339781276 -5.984971888595321 treat image : temp/1740595949_4191019_1339781256_cac93065ba6d7e73124ab72f9ee09e42.jpg resize: (1080, 1632) 1339781256 -4.683602520756572 treat image : temp/1740595949_4191019_1339781252_b8a19f50e15e941431fa4b017ea162c4.jpg resize: (1080, 1632) 1339781252 -6.226594280330865 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.013127565383911133 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.01352071762084961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015068769454956055 save missing photos in datou_result : time spend for datou_step_exec : 15.764053344726562 time spend to save output : 0.046179771423339844 total time spend for step 1 : 15.810233116149902 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 3.22system 0:21.82elapsed 83%CPU (0avgtext+0avgdata 141624maxresident)k 3464inputs+11024outputs (21major+260544minor)pagefaults 0swaps