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 : 956851 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 : 8179>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/956851/ 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.471069812774658 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 Sat Jul 12 01:12: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/1752275548_956851_1371759927_e3c83c8e364a184e6e2abd24def1223a.jpg resize: (1080, 1632) 1371759927 -5.4925773128594315 treat image : temp/1752275548_956851_1371759885_96bbbc9818f708b3e75ef035dc59e334.jpg resize: (1080, 1632) 1371759885 -5.413676334644265 treat image : temp/1752275548_956851_1371759857_76225e4e47b3cf25b724510581bf3b21.jpg resize: (1080, 1632) 1371759857 -4.529446341670765 treat image : temp/1752275548_956851_1371759778_b77383448725fe3d9267966ea58cac73.jpg resize: (1080, 1632) 1371759778 -5.110758707342527 treat image : temp/1752275548_956851_1371759699_18be24409f4303a77e3e920123b11174.jpg resize: (1080, 1632) 1371759699 -5.5839627049859635 treat image : temp/1752275548_956851_1371759613_6f2d7474ff2ac24719dad17c3de95c1a.jpg resize: (1080, 1632) 1371759613 -4.1218634178615785 treat image : temp/1752275548_956851_1371758968_400e2d42f8c5f0d609c48cdb56d6148a.jpg resize: (1080, 1632) 1371758968 -1.5008021060563481 treat image : temp/1752275548_956851_1371758940_5f210261699df19b9bf01eb2918fe094.jpg resize: (1080, 1632) 1371758940 -2.903407066857455 treat image : temp/1752275548_956851_1371758903_07d601b140e8822898a993991744ff8a.jpg resize: (1080, 1632) 1371758903 -2.9021312499103864 treat image : temp/1752275548_956851_1371758855_885983d12be3342658d09b084b1e3b12.jpg resize: (1080, 1632) 1371758855 -2.7474892037097405 treat image : temp/1752275548_956851_1371758804_fbc6f7428141543616acdcc6acaaecd2.jpg resize: (1080, 1632) 1371758804 -1.0157293621481718 treat image : temp/1752275548_956851_1371758753_7dd3ef2f46375847351b6552679dbe35.jpg resize: (1080, 1632) 1371758753 -4.967153086990835 treat image : temp/1752275548_956851_1371758200_9c0183d6433acd8572ed928ef5b8b98e.jpg resize: (1080, 1632) 1371758200 -5.593536009521905 treat image : temp/1752275548_956851_1371758158_a3252d21a99526cee52f8b528a774b67.jpg resize: (1080, 1632) 1371758158 -5.588499251732528 treat image : temp/1752275548_956851_1371758127_5b66854a84058099a16cd94f71605048.jpg resize: (1080, 1632) 1371758127 -5.589187387645631 treat image : temp/1752275548_956851_1371758086_c5c01803659cbd4a1f8bb0c3d0a95127.jpg resize: (1080, 1632) 1371758086 -4.6101098421678435 treat image : temp/1752275548_956851_1371758035_b9c8bad46041e19c695e205a132e2ffc.jpg resize: (1080, 1632) 1371758035 -5.579429832072808 treat image : temp/1752275548_956851_1371758004_4b07d3e49467ca700e871e67418ff5e2.jpg resize: (1080, 1632) 1371758004 -5.478589758226386 treat image : temp/1752275548_956851_1371757823_7a1ee5b9c223be8b8cb0cdb47d6fd6ce.jpg resize: (1080, 1632) 1371757823 -5.473436105970012 treat image : temp/1752275548_956851_1371757821_05e16b5f68c9dd15ce72c9cd8aa2a780.jpg resize: (1080, 1632) 1371757821 -4.811689135333751 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.02379608154296875 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.20043349266052246 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.542426347732544 save missing photos in datou_result : time spend for datou_step_exec : 17.085893630981445 time spend to save output : 0.7715713977813721 total time spend for step 1 : 17.857465028762817 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.13user 4.88system 0:23.57elapsed 84%CPU (0avgtext+0avgdata 138292maxresident)k 408inputs+9352outputs (2major+245016minor)pagefaults 0swaps