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 : 24596 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 : 5974>100 please execute split_portfolio.py -i 25384748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3365701'] with mtr_portfolio_ids : ['25384748'] and first list_photo_ids : [] new path : /proc/24596/ 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.4744324684143066 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 Aug 1 03:22:28 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/1754011346_24596_1374704969_4d7ea884e54a24924fc0c92a190a8688.jpg resize: (1080, 1632) 1374704969 -5.256257392891947 treat image : temp/1754011346_24596_1374704966_56467a19b7dac3cf2d555bf7dbba1c5f.jpg resize: (1080, 1632) 1374704966 -5.3811707609323 treat image : temp/1754011346_24596_1374704965_a9dc52e1975c00450829f77622934a8b.jpg resize: (1080, 1632) 1374704965 -5.271521736563526 treat image : temp/1754011346_24596_1374704963_fcd8cc5065534af72ebbfbab826d40d8.jpg resize: (1080, 1632) 1374704963 -4.577521931844193 treat image : temp/1754011346_24596_1374704961_99a6e26ad94371a825d5bd302cf486f9.jpg resize: (1080, 1632) 1374704961 -1.3158600381357979 treat image : temp/1754011346_24596_1374704960_5f0d25eee837f5381c049589c3bfc387.jpg resize: (1080, 1632) 1374704960 -5.071707887375297 treat image : temp/1754011346_24596_1374704911_909a31f26d9ed38194a1987136176bb2.jpg resize: (1080, 1632) 1374704911 -5.094033991054297 treat image : temp/1754011346_24596_1374704909_8b28c05d42a1532e075d8efdd4df7253.jpg resize: (1080, 1632) 1374704909 -4.698050922263114 treat image : temp/1754011346_24596_1374704906_515f423975ff077563dfb17bb8da6bca.jpg resize: (1080, 1632) 1374704906 -4.129337289796765 treat image : temp/1754011346_24596_1374704904_14756f77765fca3c54d5c467440abb99.jpg resize: (1080, 1632) 1374704904 -5.569839480394711 treat image : temp/1754011346_24596_1374704805_cdeac8c625ed706b0bee8f9e588e8dcc.jpg resize: (1080, 1632) 1374704805 -3.8025926498148728 treat image : temp/1754011346_24596_1374704802_33be5b54e5ef32d1a998e9b886b0f000.jpg resize: (1080, 1632) 1374704802 -4.068605877907358 treat image : temp/1754011346_24596_1374704798_8f76bfcd709d86d43f55b79eebb1c5fb.jpg resize: (1080, 1632) 1374704798 -2.0293756957655353 treat image : temp/1754011346_24596_1374704795_1adadfe88f87bae59dc3f25c93a16dfd.jpg resize: (1080, 1632) 1374704795 -4.582688470755331 treat image : temp/1754011346_24596_1374704765_34b96bb7a4e1fe8e53992bee5ff42e10.jpg resize: (1080, 1632) 1374704765 -4.018908386240489 treat image : temp/1754011346_24596_1374704763_f88cf39943c199bbc8093684fd004ba0.jpg resize: (1080, 1632) 1374704763 -4.8466590299308185 treat image : temp/1754011346_24596_1374704762_4c4dfe2255d1e8a47315c57f0dd88e0f.jpg resize: (1080, 1632) 1374704762 -3.5211637268874765 treat image : temp/1754011346_24596_1374704760_d4fe2e4d7bc5be6d0288d499d0133f44.jpg resize: (1080, 1632) 1374704760 -4.933125993139485 treat image : temp/1754011346_24596_1374704758_46b870e92a2cb2e3d67a8ee9ee2de8dc.jpg resize: (1080, 1632) 1374704758 -5.017876151429051 treat image : temp/1754011346_24596_1374704757_d4d9557e59557644f8660478546b99fe.jpg resize: (1080, 1632) 1374704757 -5.192943030462651 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.014720439910888672 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.013905763626098633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015856266021728516 save missing photos in datou_result : time spend for datou_step_exec : 15.099046468734741 time spend to save output : 0.0490422248840332 total time spend for step 1 : 15.148088693618774 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 3.45system 0:19.64elapsed 89%CPU (0avgtext+0avgdata 139220maxresident)k 24inputs+9064outputs (14major+260096minor)pagefaults 0swaps