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 : 3156077 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 : 2645>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3156077/ 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.609684467315674 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 Tue May 20 17:02: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/1747753348_3156077_1359826775_1e141a8e87a6bd34b2f2b14bf6e7559d.jpg resize: (1080, 1632) 1359826775 -5.319910066520442 treat image : temp/1747753348_3156077_1359826764_e073ca6efe40568ec5ac2a85638a2294.jpg resize: (1080, 1632) 1359826764 -5.222821885934289 treat image : temp/1747753348_3156077_1359826755_b2e74ebaac061c256e7703fc72d106eb.jpg resize: (1080, 1632) 1359826755 -5.463553517440078 treat image : temp/1747753348_3156077_1359826744_230b0cb41716b2199be79414b87f9878.jpg resize: (1080, 1632) 1359826744 -4.381996341243035 treat image : temp/1747753348_3156077_1359826741_5bc16b7e591e2b9ac38233f535433678.jpg resize: (1080, 1632) 1359826741 -5.030669421685546 treat image : temp/1747753348_3156077_1359826737_1e96b70a2a4c02144decd08f363d9d5c.jpg resize: (1080, 1632) 1359826737 -5.381247672656817 treat image : temp/1747753348_3156077_1359826013_316e8cd3c44205c5d4273b51814f9a97.jpg resize: (1080, 1632) 1359826013 -4.227316381988864 treat image : temp/1747753348_3156077_1359824997_26c5ebe6664b15cd5234b0f62278eb40.jpg resize: (1080, 1632) 1359824997 -1.7678634148671122 treat image : temp/1747753348_3156077_1359824977_97c4c21361953e4e403bf2587bdfc3da.jpg resize: (1080, 1632) 1359824977 -1.3838599381088892 treat image : temp/1747753348_3156077_1359824939_78256568b77d296a3f865c8f46519fc8.jpg resize: (1080, 1632) 1359824939 -4.636116928955729 treat image : temp/1747753348_3156077_1359824928_1994e406c2718fcb13b2fec3d6b81b6d.jpg resize: (1080, 1632) 1359824928 -3.855120476476919 treat image : temp/1747753348_3156077_1359824925_51f113b8cb63e26f127cff70ed8491c2.jpg resize: (1080, 1632) 1359824925 -5.168608493155622 treat image : temp/1747753348_3156077_1359824917_7558bf873010fd0765676fe403eb2e54.jpg resize: (1080, 1632) 1359824917 -4.770368112425917 treat image : temp/1747753348_3156077_1359824237_43b6314146d3088f052c041f6ff0b07c.jpg resize: (1080, 1632) 1359824237 -3.5500329526996093 treat image : temp/1747753348_3156077_1359824209_8d603bafa0cea956d12fdc465262f402.jpg resize: (1080, 1632) 1359824209 -5.706781975696299 treat image : temp/1747753348_3156077_1359824181_0fdf90d1819e2d4ddfec1a7216517ce1.jpg resize: (1080, 1632) 1359824181 -5.904095825173937 treat image : temp/1747753348_3156077_1359824177_774d97d80b7562ea9fa920dc3769e962.jpg resize: (1080, 1632) 1359824177 -5.436963541612379 treat image : temp/1747753348_3156077_1359824175_f5459979cc6a626464916b783e23d6bb.jpg resize: (1080, 1632) 1359824175 -5.6941851142726225 treat image : temp/1747753348_3156077_1359823753_c0df42f5c43f43943b37ae20341c00a9.jpg resize: (1080, 1632) 1359823753 -5.55235368517617 treat image : temp/1747753348_3156077_1359823676_daf3f7171e8b6baf707fef945acf2a34.jpg resize: (1080, 1632) 1359823676 -1.085422166977653 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.0215609073638916 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.02193450927734375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019834280014038086 save missing photos in datou_result : time spend for datou_step_exec : 16.534330368041992 time spend to save output : 0.06818127632141113 total time spend for step 1 : 16.602511644363403 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 4.49system 0:21.95elapsed 87%CPU (0avgtext+0avgdata 140764maxresident)k 2296inputs+9512outputs (23major+249704minor)pagefaults 0swaps