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 : 3373275 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 : 4043>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3373275/ 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.360482931137085 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 Fri Jul 11 13:32:31 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/1752233549_3373275_1371569967_ff402dffb637704310d1103a73b48392.jpg resize: (1080, 1632) 1371569967 -5.20237467825463 treat image : temp/1752233549_3373275_1371569915_440f38de5ab0fb4b6db4ef3c2316293c.jpg resize: (1080, 1632) 1371569915 -5.165276636753723 treat image : temp/1752233549_3373275_1371569908_d0bf24c97f7a89599f4da384bf9c8428.jpg resize: (1080, 1632) 1371569908 -5.161914726321352 treat image : temp/1752233549_3373275_1371569792_c6616877864ecdc3e0bf78a07acce824.jpg resize: (1080, 1632) 1371569792 -5.139991963464618 treat image : temp/1752233549_3373275_1371569789_70329361898ff246e6a02e9ae3289b83.jpg resize: (1080, 1632) 1371569789 -5.114747175677146 treat image : temp/1752233549_3373275_1371569785_15ebd138b9305a4544d24f08b175e68c.jpg resize: (1080, 1632) 1371569785 -5.113083632785532 treat image : temp/1752233549_3373275_1371569746_0dd42550abc088e063942198a6023fab.jpg resize: (1080, 1632) 1371569746 -5.113058117906424 treat image : temp/1752233549_3373275_1371569736_7bcc02f0969abc5dc7ec4eb7cb53c65a.jpg resize: (1080, 1632) 1371569736 -5.139991963464618 treat image : temp/1752233549_3373275_1371569735_e8aca391874e481c3b1751d0f44562e2.jpg resize: (1080, 1632) 1371569735 -5.086610668979733 treat image : temp/1752233549_3373275_1371569621_f35a6f578bf0e236bc2e1fa195eb62d0.jpg resize: (1080, 1632) 1371569621 -5.202729758423567 treat image : temp/1752233549_3373275_1371569616_e3a40a9fd883407a6686aeb64b2fd30b.jpg resize: (1080, 1632) 1371569616 -5.121039607927716 treat image : temp/1752233549_3373275_1371569573_7bbc1e13d8ef1a768d4c6355409c275b.jpg resize: (1080, 1632) 1371569573 -5.132892310672327 treat image : temp/1752233549_3373275_1371569572_69b5d6edd226f4665b19def0729bbce3.jpg resize: (1080, 1632) 1371569572 -5.176277663136456 treat image : temp/1752233549_3373275_1371569565_a477a647e4f2edaaef74657cf9ef73f2.jpg resize: (1080, 1632) 1371569565 -5.073263298105376 treat image : temp/1752233549_3373275_1371569555_a0996d3218cd5d53088142c31530bce4.jpg resize: (1080, 1632) 1371569555 -5.2146536699587465 treat image : temp/1752233549_3373275_1371569553_428c079eb57b366a8f25ee9fbf5a657a.jpg resize: (1080, 1632) 1371569553 -5.164107750480201 treat image : temp/1752233549_3373275_1371569434_0d7331cbd2540aa055400ee8cf6d1899.jpg resize: (1080, 1632) 1371569434 -5.16670781971529 treat image : temp/1752233549_3373275_1371569433_a266decafde2b8bb7ae0bfc7d79fc2f1.jpg resize: (1080, 1632) 1371569433 -5.0990395241378925 treat image : temp/1752233549_3373275_1371569421_57ba5a2219abd6110b23494f08539381.jpg resize: (1080, 1632) 1371569421 -5.099993900922507 treat image : temp/1752233549_3373275_1371569419_2406565d4fe1c1ea735705a4e6db6009.jpg resize: (1080, 1632) 1371569419 -5.157812690311336 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.013590335845947266 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.0131072998046875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017786502838134766 save missing photos in datou_result : time spend for datou_step_exec : 15.01652717590332 time spend to save output : 0.04909157752990723 total time spend for step 1 : 15.065618753433228 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 3.50system 0:21.66elapsed 80%CPU (0avgtext+0avgdata 139816maxresident)k 296inputs+10184outputs (3major+257137minor)pagefaults 0swaps