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 : 1824633 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 : 2632>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/1824633/ 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.216695785522461 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 Fri Mar 21 22:02: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/1742590949_1824633_1346235504_7c4693d5db90cec7d1efe50d765530ca.jpg resize: (1080, 1632) 1346235504 -5.92969000550008 treat image : temp/1742590949_1824633_1346235475_9dce8a077fd2c62d511057e75e9869d5.jpg resize: (1080, 1632) 1346235475 -6.275227288178258 treat image : temp/1742590949_1824633_1346235448_b776f43d8ea7ca67407166705bcbb5da.jpg resize: (1080, 1632) 1346235448 -6.141149240841187 treat image : temp/1742590949_1824633_1346235377_8521b26165cc5521eda12dab75d76cd9.jpg resize: (1080, 1632) 1346235377 -2.3727096008926245 treat image : temp/1742590949_1824633_1346235355_a9f7c95a0a023be438d57dde433a9fee.jpg resize: (1080, 1632) 1346235355 -2.779326182712206 treat image : temp/1742590949_1824633_1346235312_626bec2bd27f719d6c0f2fd5e40d3a16.jpg resize: (1080, 1632) 1346235312 -4.7933820784302785 treat image : temp/1742590949_1824633_1346235258_572e10143f4349cf1b8a5f410403bea8.jpg resize: (1080, 1632) 1346235258 -6.103199576256698 treat image : temp/1742590949_1824633_1346235233_38782499ff2532428163ce2e9c1aec0b.jpg resize: (1080, 1632) 1346235233 -6.16610778979664 treat image : temp/1742590949_1824633_1346235213_b626f4d9b7c7db18b76bb770b4653ca0.jpg resize: (1080, 1632) 1346235213 -6.410116989621941 treat image : temp/1742590949_1824633_1346235209_2e570eb3d90519584f1f643ae82b52b0.jpg resize: (1080, 1632) 1346235209 -5.994213737541632 treat image : temp/1742590949_1824633_1346235190_5a5aa3051ffcfa790ddf80d8836ca63a.jpg resize: (1080, 1632) 1346235190 -6.1095969425118195 treat image : temp/1742590949_1824633_1346235174_2616d0dacbcf41929568d0768dd30003.jpg resize: (1080, 1632) 1346235174 -5.927667039587965 treat image : temp/1742590949_1824633_1346233942_6ed8998a55002785a60afeed570a1531.jpg resize: (1080, 1632) 1346233942 -1.6866250969987382 treat image : temp/1742590949_1824633_1346233916_0ed581337ae15e89b6531ebde4be4573.jpg resize: (1080, 1632) 1346233916 -4.6573548295469624 treat image : temp/1742590949_1824633_1346233890_9ea2b1cb3647b00da8d339e1264ed78d.jpg resize: (1080, 1632) 1346233890 -6.302542374345394 treat image : temp/1742590949_1824633_1346233865_d08fb20565e2bfc3413d1561a7a30ca5.jpg resize: (1080, 1632) 1346233865 -5.923448805897054 treat image : temp/1742590949_1824633_1346233697_5ce4b14c195305841b6d596075194e01.jpg resize: (1080, 1632) 1346233697 -3.843006712525838 treat image : temp/1742590949_1824633_1346233683_8a70f52e0b6e21a110307d1584f6e624.jpg resize: (1080, 1632) 1346233683 -3.8875725757834045 treat image : temp/1742590949_1824633_1346233679_b42e1be44e4cb467d4cf6977a563ab75.jpg resize: (1080, 1632) 1346233679 -5.1773383930594115 treat image : temp/1742590949_1824633_1346233676_776fd7287ed1e424ca388c97427e92b6.jpg resize: (1080, 1632) 1346233676 -5.6501489394534925 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 : 3.397573709487915 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.013077497482299805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01802229881286621 save missing photos in datou_result : time spend for datou_step_exec : 15.227445125579834 time spend to save output : 3.4336934089660645 total time spend for step 1 : 18.6611385345459 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 3.77system 0:24.83elapsed 71%CPU (0avgtext+0avgdata 137008maxresident)k 0inputs+10720outputs (0major+250680minor)pagefaults 0swaps