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 : 1871595 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 : 264>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1871595/ 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.267315626144409 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 Feb 6 02:32: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/1738805550_1871595_1335088887_ff92000adb6c93778e513f3d32f75481.jpg resize: (1080, 1632) 1335088887 -6.409015582566623 treat image : temp/1738805550_1871595_1335088856_23f43ac787a3a81cf5bf7d53d173b469.jpg resize: (1080, 1632) 1335088856 -5.98262853640966 treat image : temp/1738805550_1871595_1335088850_b59ebfd925c488ccbe2beacce799fbbc.jpg resize: (1080, 1632) 1335088850 -6.482084961626125 treat image : temp/1738805550_1871595_1335088839_f8b7a66daa87abe8bfd2b7f199bb03a6.jpg resize: (1080, 1632) 1335088839 -6.283401302642651 treat image : temp/1738805550_1871595_1335088797_3753af791d066fe3123cd1da4bcc27ac.jpg resize: (1080, 1632) 1335088797 -6.197004160961386 treat image : temp/1738805550_1871595_1335088790_7f3be52c1bd55885e1772fa19e2d4483.jpg resize: (1080, 1632) 1335088790 -5.926942716808083 treat image : temp/1738805550_1871595_1335088598_42bea7768f33fef6d14088a0ec183cc7.jpg resize: (1080, 1632) 1335088598 -5.849454717484373 treat image : temp/1738805550_1871595_1335088551_db7d8df9665753e04ab918d48a7c5135.jpg resize: (1080, 1632) 1335088551 -4.976440269384605 treat image : temp/1738805550_1871595_1335088549_a06d8c15c1342e4e08ac0d4366e0c0b7.jpg resize: (1080, 1632) 1335088549 -6.254905775202909 treat image : temp/1738805550_1871595_1335088547_1cfbc9eb69929638715298b527953bf8.jpg resize: (1080, 1632) 1335088547 -5.111337200012447 treat image : temp/1738805550_1871595_1335088545_5e4f4e898fc0e2dc371c856aee029f4e.jpg resize: (1080, 1632) 1335088545 -2.4880181073795278 treat image : temp/1738805550_1871595_1335088544_32aad52e4ada6cdd861292a46790e2d0.jpg resize: (1080, 1632) 1335088544 -2.7070433565749017 treat image : temp/1738805550_1871595_1335088543_9cb676f10d36fdcbf1cea82ca15c81e5.jpg resize: (1080, 1632) 1335088543 -4.948261685148135 treat image : temp/1738805550_1871595_1335088542_51903886a5941dd855b03b06af782f1f.jpg resize: (1080, 1632) 1335088542 -6.793455533617149 treat image : temp/1738805550_1871595_1335088541_dfa0a4f788fff7eedd6797ff0c11ba28.jpg resize: (1080, 1632) 1335088541 -6.385247160530045 treat image : temp/1738805550_1871595_1335088535_ef1e090dd8496fe52b1a1ec10da6b41d.jpg resize: (1080, 1632) 1335088535 -6.1291271831775544 treat image : temp/1738805550_1871595_1335088534_c5232e3bb40fbb1f9b46a413bd8cd4c5.jpg resize: (1080, 1632) 1335088534 -6.820808100670441 treat image : temp/1738805550_1871595_1335088532_98704a500e0e5c2ba0ae5ec61005296b.jpg resize: (1080, 1632) 1335088532 -6.367771123068129 treat image : temp/1738805550_1871595_1335088519_c85a923926cb03a90afdb969574b89df.jpg resize: (1080, 1632) 1335088519 -5.734499404741801 treat image : temp/1738805550_1871595_1335088518_22f6094aeb922433029f2b77c6c7aa34.jpg resize: (1080, 1632) 1335088518 -5.319936038451211 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.015428781509399414 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.01764059066772461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03610348701477051 save missing photos in datou_result : time spend for datou_step_exec : 13.471250057220459 time spend to save output : 0.08663725852966309 total time spend for step 1 : 13.557887315750122 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 1.90system 0:20.57elapsed 79%CPU (0avgtext+0avgdata 140728maxresident)k 64inputs+11888outputs (0major+128986minor)pagefaults 0swaps