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 : 3728414 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 : 2552>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/3728414/ 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.1041746139526367 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 17:37:29 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/1738859847_3728414_1335243910_ca806d9b9ea28de1e881cb8bb96060b4.jpg resize: (1080, 1632) 1335243910 -6.310342192367564 treat image : temp/1738859847_3728414_1335243907_a8ee4e4413d3c2067510210653150511.jpg resize: (1080, 1632) 1335243907 -6.4909623553626234 treat image : temp/1738859847_3728414_1335243902_637d093a0d53c67473b0db92192aeb3e.jpg resize: (1080, 1632) 1335243902 -6.913287014677071 treat image : temp/1738859847_3728414_1335243896_c69c64028db43ea67e217b9e9abdb090.jpg resize: (1080, 1632) 1335243896 -6.160831182872017 treat image : temp/1738859847_3728414_1335243842_289e1645e250d8f70344b343e3daf668.jpg resize: (1080, 1632) 1335243842 -4.950181649969857 treat image : temp/1738859847_3728414_1335243811_4d195b657d5d7ea4b17c602b3461ff6f.jpg resize: (1080, 1632) 1335243811 -2.353471321856237 treat image : temp/1738859847_3728414_1335243477_8a1a47bf823136eedd7d6ba8d8fa1540.jpg resize: (1080, 1632) 1335243477 -3.5922462203924037 treat image : temp/1738859847_3728414_1335243379_7f5a5372144a803a27234a08fa94134b.jpg resize: (1080, 1632) 1335243379 -4.407250084975178 treat image : temp/1738859847_3728414_1335243370_710d3bfecbff4553f078339e9204056c.jpg resize: (1080, 1632) 1335243370 -4.209180816179528 treat image : temp/1738859847_3728414_1335243367_b6fed92c9a22f0e9ea5c599f06060244.jpg resize: (1080, 1632) 1335243367 -5.90643743067238 treat image : temp/1738859847_3728414_1335243364_3835728fc5c4f7ce56b200419296f8fe.jpg resize: (1080, 1632) 1335243364 -3.649395238229744 treat image : temp/1738859847_3728414_1335243361_23df45a1b4320dccdd0440913ab03995.jpg resize: (1080, 1632) 1335243361 -5.646678988542527 treat image : temp/1738859847_3728414_1335242139_620ff1686655a0d09560ed65d2440c00.jpg resize: (1080, 1632) 1335242139 -5.856132523218215 treat image : temp/1738859847_3728414_1335242077_c4e552c0cd02c3f7c37391aa57d889b5.jpg resize: (1080, 1632) 1335242077 -5.920119835592366 treat image : temp/1738859847_3728414_1335242030_8ecdb13ae6ad72d2691f01828c60cb80.jpg resize: (1080, 1632) 1335242030 -5.907523997146712 treat image : temp/1738859847_3728414_1335241931_15e67b62040877a1d7a21f05092ea208.jpg resize: (1080, 1632) 1335241931 -5.481484720887156 treat image : temp/1738859847_3728414_1335241843_3186059e74bf92c25c257bee7f9f3d01.jpg resize: (1080, 1632) 1335241843 -5.83625597094155 treat image : temp/1738859847_3728414_1335241837_370f62155c1009bbdd4264afa9a8a678.jpg resize: (1080, 1632) 1335241837 -5.956807147292244 treat image : temp/1738859847_3728414_1335241831_cba146e985adca2a70cb9c51d7a807b0.jpg resize: (1080, 1632) 1335241831 -5.669707309661803 treat image : temp/1738859847_3728414_1335241825_baf9f1edc5813a8f79732c6fa38e5bff.jpg resize: (1080, 1632) 1335241825 -5.387718745429555 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.014142274856567383 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.012084722518920898 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014520406723022461 save missing photos in datou_result : time spend for datou_step_exec : 13.724841833114624 time spend to save output : 0.045781612396240234 total time spend for step 1 : 13.770623445510864 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 1.52system 0:17.93elapsed 89%CPU (0avgtext+0avgdata 140148maxresident)k 72inputs+10728outputs (27major+125864minor)pagefaults 0swaps