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 : 2263952 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 : 1174>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/2263952/ 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.2552504539489746 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 May 14 10:32:30 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/1747211548_2263952_1358130795_1ac38aa2e64acf93d3623f50b4fb6085.jpg resize: (1080, 1632) 1358130795 -1.5919779236253604 treat image : temp/1747211548_2263952_1358130786_f9683f429119e13250bc7f607a77701e.jpg resize: (1080, 1632) 1358130786 -1.8730393734012794 treat image : temp/1747211548_2263952_1358130774_625ba9d3eec39e6b8660b31bf695dd9d.jpg resize: (1080, 1632) 1358130774 -3.5466609507196396 treat image : temp/1747211548_2263952_1358130768_9bc67ceb4a8d2c2549fb27ee5fdd0bbe.jpg resize: (1080, 1632) 1358130768 -4.000999407567862 treat image : temp/1747211548_2263952_1358130739_e133d15017144d6e6923b88d51054c8e.jpg resize: (1080, 1632) 1358130739 -5.368562574494258 treat image : temp/1747211548_2263952_1358130415_c03f6e233eac637c5b48d01484310927.jpg resize: (1080, 1632) 1358130415 -5.752339812079213 treat image : temp/1747211548_2263952_1358130410_8fb2adc550dc809156ee552dfd51a47a.jpg resize: (1080, 1632) 1358130410 -5.9506514626575315 treat image : temp/1747211548_2263952_1358130403_3b32d358bc40bdef5ea5362252cf4ce8.jpg resize: (1080, 1632) 1358130403 -1.6298809589351773 treat image : temp/1747211548_2263952_1358130212_5667b8ccefb9c9c601d48946e9ba8516.jpg resize: (1080, 1632) 1358130212 -4.918745583518605 treat image : temp/1747211548_2263952_1358130183_6b5db26ea8a59af931c378b3217470d5.jpg resize: (1080, 1632) 1358130183 -5.50709854877545 treat image : temp/1747211548_2263952_1358130159_64de1c707a9042116f7930ea9cb2fd87.jpg resize: (1080, 1632) 1358130159 -3.771318404895479 treat image : temp/1747211548_2263952_1358130132_f213add3527b50aab8dee9c313b7ff82.jpg resize: (1080, 1632) 1358130132 -5.221202431132751 treat image : temp/1747211548_2263952_1358130104_bcd6b191fbaf83f361ea2996809e4ed9.jpg resize: (1080, 1632) 1358130104 -5.74531575894116 treat image : temp/1747211548_2263952_1358129859_f50db5f0549b2865e496c875502edee8.jpg resize: (1080, 1632) 1358129859 -5.9318320627992005 treat image : temp/1747211548_2263952_1358129833_f2d8bcf7efcd978c320143b0fea3f31f.jpg resize: (1080, 1632) 1358129833 -6.0626214468903745 treat image : temp/1747211548_2263952_1358129807_77ae1cb5413c1990524735c4b0274317.jpg resize: (1080, 1632) 1358129807 -5.016074479503088 treat image : temp/1747211548_2263952_1358129761_353478b0081ad3a036a78f6881163bf7.jpg resize: (1080, 1632) 1358129761 -5.656969882700116 treat image : temp/1747211548_2263952_1358129685_86b9259f747baa4491f41eb56a65236a.jpg resize: (1080, 1632) 1358129685 -5.521483160127888 treat image : temp/1747211548_2263952_1358129227_842c9ef7c5ccca1d1fa4b36a659b9161.jpg resize: (1080, 1632) 1358129227 -1.5035160395778178 treat image : temp/1747211548_2263952_1358129198_1d76e2a72a9fbd25bdbeaff5874ce192.jpg resize: (1080, 1632) 1358129198 -3.9120288150689557 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.015644311904907227 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.016097307205200195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017639875411987305 save missing photos in datou_result : time spend for datou_step_exec : 16.76907968521118 time spend to save output : 0.05419611930847168 total time spend for step 1 : 16.823275804519653 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.41user 4.34system 0:21.53elapsed 91%CPU (0avgtext+0avgdata 139484maxresident)k 5160inputs+9552outputs (46major+248961minor)pagefaults 0swaps