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 : 2097753 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 : 1606>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/2097753/ 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.3195159435272217 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 12:12: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/1747044748_2097753_1357623582_cef128a517159d19e2d37e4a5333021e.jpg resize: (1080, 1632) 1357623582 -1.7146285327211002 treat image : temp/1747044748_2097753_1357623579_a523a7e5cb876c1d6420e9cb1a5c51fe.jpg resize: (1080, 1632) 1357623579 -3.6485013163393734 treat image : temp/1747044748_2097753_1357623449_bd44f9db92187f760aa659f5a2cd5a02.jpg resize: (1080, 1632) 1357623449 -5.949137635642634 treat image : temp/1747044748_2097753_1357623445_73f0469b88769dc74e15c5bc2d86c561.jpg resize: (1080, 1632) 1357623445 -6.079690783006545 treat image : temp/1747044748_2097753_1357623442_5892655e58d72f14b758f2c002415bb6.jpg resize: (1080, 1632) 1357623442 -5.426254346738028 treat image : temp/1747044748_2097753_1357623289_1122147f16da5fd576b2eb027946685c.jpg resize: (1080, 1632) 1357623289 -1.7513947311993505 treat image : temp/1747044748_2097753_1357623270_aeffb14fed7285f5210db83bdd23c42d.jpg resize: (1080, 1632) 1357623270 -1.4366613325255484 treat image : temp/1747044748_2097753_1357623265_076e2c2fcf1ca48db8297d261c9f6ce0.jpg resize: (1080, 1632) 1357623265 -4.54662169016046 treat image : temp/1747044748_2097753_1357623260_8817fe077bbb0de3eed0bd69792c0776.jpg resize: (1080, 1632) 1357623260 -4.31796460812289 treat image : temp/1747044748_2097753_1357623255_2c6c3a83929365cfd64c0385813f3817.jpg resize: (1080, 1632) 1357623255 -6.025818416476445 treat image : temp/1747044748_2097753_1357623250_c5a5cff3c33f1f64424f64313aa9a3d7.jpg resize: (1080, 1632) 1357623250 -3.1797078460374086 treat image : temp/1747044748_2097753_1357622914_520437bfaff53f487ab1c4957b678f13.jpg resize: (1080, 1632) 1357622914 -6.2699934530009065 treat image : temp/1747044748_2097753_1357622886_c2de5a07e6ecc948a2f9c3603d2ba8e3.jpg resize: (1080, 1632) 1357622886 -6.1466051255912495 treat image : temp/1747044748_2097753_1357622859_f3b299e4a9bca0ed6f93f397cf0b31de.jpg resize: (1080, 1632) 1357622859 -6.245866985165013 treat image : temp/1747044748_2097753_1357622847_9b30271e1c87d2280eac0da06a529c90.jpg resize: (1080, 1632) 1357622847 -4.307676824019459 treat image : temp/1747044748_2097753_1357622811_6e56a9371305445c32e7db4da9c85cc9.jpg resize: (1080, 1632) 1357622811 -4.542335401494644 treat image : temp/1747044748_2097753_1357622776_0da901a1fa78b183e7ab1feb604ede39.jpg resize: (1080, 1632) 1357622776 -6.1086918646660635 treat image : temp/1747044748_2097753_1357622761_a2d53847389f220cbe8593f7991bca24.jpg resize: (1080, 1632) 1357622761 -5.9909820603700785 treat image : temp/1747044748_2097753_1357622756_4cdc933b61cac9570ac2d3f93b6ce774.jpg resize: (1080, 1632) 1357622756 -3.8115002655276586 treat image : temp/1747044748_2097753_1357622751_e0de2f13ad1dec777bd05fd7a6818544.jpg resize: (1080, 1632) 1357622751 -5.855084952992731 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.013115882873535156 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.012471199035644531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014953851699829102 save missing photos in datou_result : time spend for datou_step_exec : 15.812796592712402 time spend to save output : 0.045447349548339844 total time spend for step 1 : 15.858243942260742 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.44user 3.22system 0:20.77elapsed 89%CPU (0avgtext+0avgdata 140596maxresident)k 144inputs+10200outputs (1major+257922minor)pagefaults 0swaps