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 : 1973625 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 : 869>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1973625/ 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 : 3.8217525482177734 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 Thu Feb 6 03: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/1738809149_1973625_1335100699_1164b406c7cadd6f0a5154635c780992.jpg resize: (1080, 1632) 1335100699 -5.772891694508129 treat image : temp/1738809149_1973625_1335100696_7a5b84fe4185226f5c33358b07d7d89d.jpg resize: (1080, 1632) 1335100696 -5.759189646499624 treat image : temp/1738809149_1973625_1335100689_3aff56f50ea9b65ce57ea8cf6d1ea6d9.jpg resize: (1080, 1632) 1335100689 -5.747747125770618 treat image : temp/1738809149_1973625_1335100686_0f9f926164546d104e7d8d86ee273053.jpg resize: (1080, 1632) 1335100686 -6.41942607818588 treat image : temp/1738809149_1973625_1335100684_fc3883e220b61a0c3577d8fdc2db35e8.jpg resize: (1080, 1632) 1335100684 -6.05904274359838 treat image : temp/1738809149_1973625_1335100683_3c552a595f7db509b78be78e2e71201c.jpg resize: (1080, 1632) 1335100683 -5.75236407602207 treat image : temp/1738809149_1973625_1335100666_40936a6105fefd577a9d703b74684dce.jpg resize: (1080, 1632) 1335100666 -1.7918932220193189 treat image : temp/1738809149_1973625_1335100664_53408395f3666582c33bc9a4834acc11.jpg resize: (1080, 1632) 1335100664 -5.140718991535598 treat image : temp/1738809149_1973625_1335100660_327ae303c8c281ff67aeb6a817e4d2e8.jpg resize: (1080, 1632) 1335100660 -4.82644278397202 treat image : temp/1738809149_1973625_1335097461_06191058cd8bb179c1e2439f896f7835.jpg resize: (1080, 1632) 1335097461 -1.5746444195747085 treat image : temp/1738809149_1973625_1335097460_53178d4ba947f75c031e8d8789ce3baa.jpg resize: (1080, 1632) 1335097460 -3.0741496412304246 treat image : temp/1738809149_1973625_1335097457_7499680a436f3e925b86cf232c2492bb.jpg resize: (1080, 1632) 1335097457 -3.899988253750109 treat image : temp/1738809149_1973625_1335097455_0d45bcf4d3d829014d3fe826ad8f5c46.jpg resize: (1080, 1632) 1335097455 -5.669877285987405 treat image : temp/1738809149_1973625_1335097453_f1822b81b2fbe62ba39ddea77d1e6842.jpg resize: (1080, 1632) 1335097453 -5.301324644714861 treat image : temp/1738809149_1973625_1335097450_9a9bb8d840fe1f9328475f6a4a7e20af.jpg resize: (1080, 1632) 1335097450 -1.9620743223396586 treat image : temp/1738809149_1973625_1335097449_3ce12ed2bb6722b5539739984fcb43d5.jpg resize: (1080, 1632) 1335097449 -2.7661510549452326 treat image : temp/1738809149_1973625_1335097448_ae401bf2dfd393d52119826ddec3eae3.jpg resize: (1080, 1632) 1335097448 -3.2256561739775433 treat image : temp/1738809149_1973625_1335095807_f747908cbe23bd3796c71b8cb9616598.jpg resize: (1080, 1632) 1335095807 -3.700950184083703 treat image : temp/1738809149_1973625_1335095801_a922604be0521093df07778cc6e825a1.jpg resize: (1080, 1632) 1335095801 -2.1269582615639306 treat image : temp/1738809149_1973625_1335095799_330d47d02e2d9cc4cf8307e6b80193e6.jpg resize: (1080, 1632) 1335095799 -5.278004309037736 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.6204726696014404 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.015006780624389648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014965295791625977 save missing photos in datou_result : time spend for datou_step_exec : 13.429179430007935 time spend to save output : 0.6553466320037842 total time spend for step 1 : 14.084526062011719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.67user 2.15system 0:19.69elapsed 80%CPU (0avgtext+0avgdata 140752maxresident)k 8inputs+9368outputs (8major+173979minor)pagefaults 0swaps