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 : 167595 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 : 1290>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/167595/ 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.176802635192871 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 Mar 22 08:32: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/1742628749_167595_1346362403_dfa4817ccd63a375f2efeea84b87aba7.jpg resize: (1080, 1632) 1346362403 -4.395960976020403 treat image : temp/1742628749_167595_1346362392_dce7c80d34f3fc1b3975646d63a5c622.jpg resize: (1080, 1632) 1346362392 -6.404433307690342 treat image : temp/1742628749_167595_1346362382_14182784ffd6ad34dc9b5f4550535a9e.jpg resize: (1080, 1632) 1346362382 -5.935111971895951 treat image : temp/1742628749_167595_1346362369_573b90eaea4d5d7f3b4e3463ca0094c7.jpg resize: (1080, 1632) 1346362369 -6.440093927180751 treat image : temp/1742628749_167595_1346362365_622f6131e43ceaa37abd82d16079c9cd.jpg resize: (1080, 1632) 1346362365 -6.172078879000572 treat image : temp/1742628749_167595_1346362361_a1a3fe6fca5089ab44164121f00d326f.jpg resize: (1080, 1632) 1346362361 -5.895381745136734 treat image : temp/1742628749_167595_1346362348_ce8067151390016de9494e1e31056bf4.jpg resize: (1080, 1632) 1346362348 -6.276202334310642 treat image : temp/1742628749_167595_1346362345_bc3b5f808cfc6a2b8cbf0ffced63b348.jpg resize: (1080, 1632) 1346362345 -6.126655571808884 treat image : temp/1742628749_167595_1346362329_ebb408e4ccab4a6689df5572f19b7f1d.jpg resize: (1080, 1632) 1346362329 -4.857613580943404 treat image : temp/1742628749_167595_1346362301_bcbb488214823e5b9c139ca62503f6ea.jpg resize: (1080, 1632) 1346362301 -3.419514134569628 treat image : temp/1742628749_167595_1346362268_2c54e39bad6886ef34c26848fac4b721.jpg resize: (1080, 1632) 1346362268 -5.251051028910471 treat image : temp/1742628749_167595_1346362225_87b126e9eedbe757f88cecd6202c4980.jpg resize: (1080, 1632) 1346362225 -6.06231520730338 treat image : temp/1742628749_167595_1346362141_b01c97ded74b461d34903d2744a96b31.jpg resize: (1080, 1632) 1346362141 -6.064760047942386 treat image : temp/1742628749_167595_1346362120_ad516eb03a46af5db5f7601510dbba6d.jpg resize: (1080, 1632) 1346362120 -5.5865847767028045 treat image : temp/1742628749_167595_1346362118_55bd179f7803d3dea1391ba062e26c64.jpg resize: (1080, 1632) 1346362118 -5.369006357960738 treat image : temp/1742628749_167595_1346362117_e3408516da1f91f2ecb8ab933149f3d4.jpg resize: (1080, 1632) 1346362117 -5.400445452785095 treat image : temp/1742628749_167595_1346362114_58b0dbe04f8b07af227f904834498dc4.jpg resize: (1080, 1632) 1346362114 -5.600056310740699 treat image : temp/1742628749_167595_1346362110_ba9b36b24c0a39b809c104dbc608b106.jpg resize: (1080, 1632) 1346362110 -5.182661125478584 treat image : temp/1742628749_167595_1346362038_941b224c0b2b376125570394bba9beb4.jpg resize: (1080, 1632) 1346362038 -1.5394994199729575 treat image : temp/1742628749_167595_1346361994_302434acd16179ca72e03e48f3426bd6.jpg resize: (1080, 1632) 1346361994 -2.4456239916636835 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.013081073760986328 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.013005733489990234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01460123062133789 save missing photos in datou_result : time spend for datou_step_exec : 13.917469024658203 time spend to save output : 0.04540300369262695 total time spend for step 1 : 13.96287202835083 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.72user 3.05system 0:19.71elapsed 85%CPU (0avgtext+0avgdata 139468maxresident)k 64inputs+10976outputs (2major+249421minor)pagefaults 0swaps