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 : 3142283 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 : 1103>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/3142283/ 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.568211793899536 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 Feb 18 10:32: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/1739871147_3142283_1338310064_6ec9a40c51f2bbfc7b73ce3bb8af2cc0.jpg resize: (1080, 1632) 1338310064 -2.5199270965750684 treat image : temp/1739871147_3142283_1338310061_7f49486fa2a60bcd30905f1134fa573f.jpg resize: (1080, 1632) 1338310061 -3.4173468756715106 treat image : temp/1739871147_3142283_1338310052_3d7bbbfdf8f9cfe880f136f0af16fba1.jpg resize: (1080, 1632) 1338310052 -5.586631435730437 treat image : temp/1739871147_3142283_1338309999_e19720c38223b54bfaf540f5609921ff.jpg resize: (1080, 1632) 1338309999 -5.912669436377138 treat image : temp/1739871147_3142283_1338309995_7f315cdc46550ac671119d9e28a9e399.jpg resize: (1080, 1632) 1338309995 -6.124083348057337 treat image : temp/1739871147_3142283_1338309992_73b82ef82d1a02a06812332412931fe6.jpg resize: (1080, 1632) 1338309992 -4.25480137228316 treat image : temp/1739871147_3142283_1338309991_452e6503c1fda6a8fa3361c12b40593f.jpg resize: (1080, 1632) 1338309991 -5.919181725251358 treat image : temp/1739871147_3142283_1338309988_7c3f24dd1e48163df18448b93ea5192f.jpg resize: (1080, 1632) 1338309988 -5.845348213019796 treat image : temp/1739871147_3142283_1338309985_7b60c39246ac776502029d65ea624132.jpg resize: (1080, 1632) 1338309985 -2.289724479112023 treat image : temp/1739871147_3142283_1338309949_00e0b7a604c3b27c9f6c0bbb873b3577.jpg resize: (1080, 1632) 1338309949 -5.894375087421958 treat image : temp/1739871147_3142283_1338309946_b9a9433ea89d91ac1df64cb939d10c8b.jpg resize: (1080, 1632) 1338309946 -4.893405919799793 treat image : temp/1739871147_3142283_1338309943_64b530a5c1336ee9802a132d9f22712d.jpg resize: (1080, 1632) 1338309943 -5.861617348310845 treat image : temp/1739871147_3142283_1338309938_4045a088a847cb043267d07426810b2d.jpg resize: (1080, 1632) 1338309938 -5.847088586249238 treat image : temp/1739871147_3142283_1338309934_3a4d40c1ad4b2dc7e5c72d9857b4eb01.jpg resize: (1080, 1632) 1338309934 -4.434906334783351 treat image : temp/1739871147_3142283_1338309930_3c4acafd81a8d1f5a278417999133068.jpg resize: (1080, 1632) 1338309930 -5.815616339088046 treat image : temp/1739871147_3142283_1338296834_b4e8ba322e1b785cd7a4e770711f2259.jpg resize: (1080, 1632) 1338296834 -6.416695613585049 treat image : temp/1739871147_3142283_1338296833_1c2f6f88341e337ffe49ffa92e7c082d.jpg resize: (1080, 1632) 1338296833 -6.193246195623607 treat image : temp/1739871147_3142283_1338296832_6b3b2941be3ab9c0c8a5c6ec82be1267.jpg resize: (1080, 1632) 1338296832 -6.220037590829571 treat image : temp/1739871147_3142283_1338296831_5b502ef719edb7c9b0169732f20574af.jpg resize: (1080, 1632) 1338296831 -6.018875582290937 treat image : temp/1739871147_3142283_1338296813_3dba5c72fda452abf048c40e10905ce6.jpg resize: (1080, 1632) 1338296813 -5.937891127735233 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.013328790664672852 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.012310266494750977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01404118537902832 save missing photos in datou_result : time spend for datou_step_exec : 16.632715702056885 time spend to save output : 0.04456472396850586 total time spend for step 1 : 16.67728042602539 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 4.70system 0:22.68elapsed 85%CPU (0avgtext+0avgdata 140704maxresident)k 4032inputs+11008outputs (36major+260634minor)pagefaults 0swaps