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 : 3747233 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 : 3089>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/3747233/ 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.4733474254608154 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 20:07: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/1747073248_3747233_1357709312_85ab220b16ad11bead2fcdfb9eff850a.jpg resize: (1080, 1632) 1357709312 -3.838852049642482 treat image : temp/1747073248_3747233_1357709294_b3b813ba0fde06ffbc1c54b67eaa1fc3.jpg resize: (1080, 1632) 1357709294 -5.644263834853655 treat image : temp/1747073248_3747233_1357709267_1a1fc72a8c171a4e6972798ed1835a22.jpg resize: (1080, 1632) 1357709267 -2.7961210483249603 treat image : temp/1747073248_3747233_1357709038_8f596e6022ab3cf115f88622ace3ad52.jpg resize: (1080, 1632) 1357709038 -1.9942841714361659 treat image : temp/1747073248_3747233_1357709028_3fe5a13db63057ff8a9165b9e6637037.jpg resize: (1080, 1632) 1357709028 -3.544304489738331 treat image : temp/1747073248_3747233_1357709025_303bc468d613a0fe1bd2d3e74e8ffb7b.jpg resize: (1080, 1632) 1357709025 -5.749805505670731 treat image : temp/1747073248_3747233_1357708999_ad27cf5f0e3e3288ece33ee32b2cd3f5.jpg resize: (1080, 1632) 1357708999 -6.083153305167682 treat image : temp/1747073248_3747233_1357708833_b5cbca8f383938c164eb3adcc5cdcb2d.jpg resize: (1080, 1632) 1357708833 -5.538617163615961 treat image : temp/1747073248_3747233_1357708803_fc0a80785336b3af2a1c6e9d0b49d4c0.jpg resize: (1080, 1632) 1357708803 -5.9919000201537544 treat image : temp/1747073248_3747233_1357708788_8aba897460351e5f0b794f5db2de1e34.jpg resize: (1080, 1632) 1357708788 -5.071044150877792 treat image : temp/1747073248_3747233_1357708785_116221e3505e999a32c69e95cdd1f8d0.jpg resize: (1080, 1632) 1357708785 -5.494267671719597 treat image : temp/1747073248_3747233_1357708778_49822c09a8084a11e986077293dee982.jpg resize: (1080, 1632) 1357708778 -4.793329800947231 treat image : temp/1747073248_3747233_1357708660_e8c49e70e20255db43541c6c3de1cad2.jpg resize: (1080, 1632) 1357708660 -3.2536602947399618 treat image : temp/1747073248_3747233_1357708621_67238aa39b02360701a3d2978062122c.jpg resize: (1080, 1632) 1357708621 -5.502592559112223 treat image : temp/1747073248_3747233_1357708584_dde76bb8935c84cd15722484158ede66.jpg resize: (1080, 1632) 1357708584 -6.244270418601361 treat image : temp/1747073248_3747233_1357708551_6ddda60eb762ab0af27d59c0de341ee0.jpg resize: (1080, 1632) 1357708551 -4.903213191582917 treat image : temp/1747073248_3747233_1357708522_51f1bec1a8a379aecc96d82e5fd0e0f0.jpg resize: (1080, 1632) 1357708522 -5.419678347729614 treat image : temp/1747073248_3747233_1357708495_191c466dea81de68213d1cb9c6d82ba3.jpg resize: (1080, 1632) 1357708495 -5.773867480567592 treat image : temp/1747073248_3747233_1357707662_d2d960bee12dcb8114cdf383e40afe7f.jpg resize: (1080, 1632) 1357707662 -3.0109394592834597 treat image : temp/1747073248_3747233_1357707632_86b89901f092e5d7a67b9a35da122bb2.jpg resize: (1080, 1632) 1357707632 -2.217389654403705 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.015627145767211914 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.016867876052856445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018979787826538086 save missing photos in datou_result : time spend for datou_step_exec : 19.732203722000122 time spend to save output : 0.056897640228271484 total time spend for step 1 : 19.789101362228394 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.06user 7.29system 0:26.00elapsed 85%CPU (0avgtext+0avgdata 141048maxresident)k 144inputs+10136outputs (14major+250769minor)pagefaults 0swaps