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 : 3772311 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 : 3438>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3772311/ 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.1980669498443604 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 Wed Jul 9 19:02: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/1752080548_3772311_1371427577_cb6a7d7013127acbb3788d1cf0b737b1.jpg resize: (1080, 1632) 1371427577 -2.380100906161265 treat image : temp/1752080548_3772311_1371427488_450dd564aabf467faf0ffa27b3af125b.jpg resize: (1080, 1632) 1371427488 -2.4006491677185977 treat image : temp/1752080548_3772311_1371427455_37952073ea81141482ff61a4ee98fcf9.jpg resize: (1080, 1632) 1371427455 -2.387933253106181 treat image : temp/1752080548_3772311_1371427453_33e259f030f5d51d1e1f3877f86a8a9b.jpg resize: (1080, 1632) 1371427453 -2.39893970155853 treat image : temp/1752080548_3772311_1371427451_f1f7fb38265a7e500bf8ad7e69af4b69.jpg resize: (1080, 1632) 1371427451 -1.9308896666057345 treat image : temp/1752080548_3772311_1371427448_29d7a31869455dcfbc91d4d25bc51755.jpg resize: (1080, 1632) 1371427448 -1.9018775892647748 treat image : temp/1752080548_3772311_1371427443_4b9ecfe88133d043d492b4ad10e04f1e.jpg resize: (1080, 1632) 1371427443 -4.408401528919519 treat image : temp/1752080548_3772311_1371427442_a22952fa3660df5ef5f1717e8c931a20.jpg resize: (1080, 1632) 1371427442 -4.175246753216955 treat image : temp/1752080548_3772311_1371427441_68ac11b2ef8604a92a1e12c118f5c641.jpg resize: (1080, 1632) 1371427441 -5.814125538855784 treat image : temp/1752080548_3772311_1371427440_7f6d533a61a659902a2801670e53a78a.jpg resize: (1080, 1632) 1371427440 -5.6697683883744014 treat image : temp/1752080548_3772311_1371427439_ec714133794388898c9ff3182d0ffde5.jpg resize: (1080, 1632) 1371427439 -1.950710439992808 treat image : temp/1752080548_3772311_1371427438_f6ee62dcae2f42d54c3b9598a1201e68.jpg resize: (1080, 1632) 1371427438 -1.5942546863897455 treat image : temp/1752080548_3772311_1371427433_4a7d127fed755947c4bce8af4acb1b5a.jpg resize: (1080, 1632) 1371427433 -1.9195075293823207 treat image : temp/1752080548_3772311_1371427431_800339e4813069f707960e54d5cea26b.jpg resize: (1080, 1632) 1371427431 -5.129612598364746 treat image : temp/1752080548_3772311_1371427429_2bba35225b8b8d94520f82a2c006c6bd.jpg resize: (1080, 1632) 1371427429 -4.844657247811602 treat image : temp/1752080548_3772311_1371427426_d2f6d46d4de9d2d4a980e7e30100c5fd.jpg resize: (1080, 1632) 1371427426 -3.0723752685596386 treat image : temp/1752080548_3772311_1371427424_d897daa5d95cacaade2ee41769a01cf6.jpg resize: (1080, 1632) 1371427424 -1.5913219800011467 treat image : temp/1752080548_3772311_1371427423_930919a9cbd18494dd828d4d1615b86d.jpg resize: (1080, 1632) 1371427423 -2.3762920571804083 treat image : temp/1752080548_3772311_1371427421_c2c1408be56f5b4c75e0bbec8f69ec7f.jpg resize: (1080, 1632) 1371427421 -1.5834858711143294 treat image : temp/1752080548_3772311_1371427419_5b891f27ac4920a5d71637515df15179.jpg resize: (1080, 1632) 1371427419 -4.404086447679998 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.012875795364379883 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.012634515762329102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01330256462097168 save missing photos in datou_result : time spend for datou_step_exec : 13.516723155975342 time spend to save output : 0.043218135833740234 total time spend for step 1 : 13.559941291809082 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 1.50system 0:19.34elapsed 81%CPU (0avgtext+0avgdata 138912maxresident)k 88inputs+8000outputs (10major+119151minor)pagefaults 0swaps