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 : 1872119 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 : 1335>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1872119/ 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 : 4.742009401321411 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 May 12 11:07: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/1747040848_1872119_1357617283_d5dca651a4f643dfa0f25d8a4091a762.jpg resize: (1080, 1632) 1357617283 -5.09480467599394 treat image : temp/1747040848_1872119_1357617281_e3f66e59f7cf7b3acf5e77fd1faa8705.jpg resize: (1080, 1632) 1357617281 -3.315744555391962 treat image : temp/1747040848_1872119_1357617280_9b76855f04c2ae78cc8f3b0f6b675ff7.jpg resize: (1080, 1632) 1357617280 -1.3091978003524638 treat image : temp/1747040848_1872119_1357617279_5d5fb87889511b2a36557cfacf55cce4.jpg resize: (1080, 1632) 1357617279 -1.5573238483000584 treat image : temp/1747040848_1872119_1357617234_28fc3d448affede08bee330ada297283.jpg resize: (1080, 1632) 1357617234 -5.683652349113179 treat image : temp/1747040848_1872119_1357617230_d54ef2d20a3eeb59122a32f693b331b8.jpg resize: (1080, 1632) 1357617230 -6.188086375126878 treat image : temp/1747040848_1872119_1357617225_a3f7a9b71b819197e5ad856e800266e8.jpg resize: (1080, 1632) 1357617225 -5.563831526540229 treat image : temp/1747040848_1872119_1357617211_e55fe0f46d9497b6af5cbf4f3932b5cb.jpg resize: (1080, 1632) 1357617211 -5.798949475712742 treat image : temp/1747040848_1872119_1357617208_a6d04687b21c3bb48435482b3c4ccfb0.jpg resize: (1080, 1632) 1357617208 -5.149123386848384 treat image : temp/1747040848_1872119_1357617191_ec2e3b14a22f9ed3d51921b30a54a0d5.jpg resize: (1080, 1632) 1357617191 -6.215690418080532 treat image : temp/1747040848_1872119_1357617151_083b31894ef042934df64285b062533d.jpg resize: (1080, 1632) 1357617151 -1.8471460273229814 treat image : temp/1747040848_1872119_1357617148_91b56395d5bf9db332817e841b4044e7.jpg resize: (1080, 1632) 1357617148 -2.2325104835848983 treat image : temp/1747040848_1872119_1357617147_a76d01dc7b5cc53415b96e2f1182dfa1.jpg resize: (1080, 1632) 1357617147 -5.460168257468742 treat image : temp/1747040848_1872119_1357617145_36250d8d29eeb502dd97e708f434838b.jpg resize: (1080, 1632) 1357617145 -3.7926295198266677 treat image : temp/1747040848_1872119_1357617143_52cf775dfdfa38d564f7db03d44bd52f.jpg resize: (1080, 1632) 1357617143 -3.667065410611672 treat image : temp/1747040848_1872119_1357617139_6152fdb8592513eb89a31ed85db921ce.jpg resize: (1080, 1632) 1357617139 -5.235915007009307 treat image : temp/1747040848_1872119_1357617091_aac7eac45640edd56c5846b0416eba54.jpg resize: (1080, 1632) 1357617091 -4.338465714402803 treat image : temp/1747040848_1872119_1357617088_a778909dcf100858beebb2c3190f5207.jpg resize: (1080, 1632) 1357617088 -5.488809064614222 treat image : temp/1747040848_1872119_1357617087_3721afcc1e6388586b83760bb60f1557.jpg resize: (1080, 1632) 1357617087 -5.991479013454131 treat image : temp/1747040848_1872119_1357617056_f59cfeecae3de10b70f6ee3c83b9c76d.jpg resize: (1080, 1632) 1357617056 -5.19073103397997 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.014041900634765625 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.012665271759033203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014966249465942383 save missing photos in datou_result : time spend for datou_step_exec : 15.704282999038696 time spend to save output : 0.04599571228027344 total time spend for step 1 : 15.75027871131897 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 3.60system 0:22.82elapsed 80%CPU (0avgtext+0avgdata 140132maxresident)k 312inputs+9888outputs (7major+223232minor)pagefaults 0swaps