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 : 2622950 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 : 276>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/2622950/ 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.0360844135284424 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 01:07: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/1742602049_2622950_1346304918_b842a3296455804a954788fc0fec061a.jpg resize: (1080, 1632) 1346304918 -6.423628417528585 treat image : temp/1742602049_2622950_1346304903_8bd7b51ff7acde7b1ac3865f2283e780.jpg resize: (1080, 1632) 1346304903 -5.032080982772223 treat image : temp/1742602049_2622950_1346304868_f55280f9face7491eb9aeb949d22dc13.jpg resize: (1080, 1632) 1346304868 -5.896598779971891 treat image : temp/1742602049_2622950_1346304841_e74be5b980c526a4f71c010b4d7e892f.jpg resize: (1080, 1632) 1346304841 -4.617219298664807 treat image : temp/1742602049_2622950_1346304770_42c385ff632708b1cc85943553cc98f7.jpg resize: (1080, 1632) 1346304770 -5.943605070362749 treat image : temp/1742602049_2622950_1346304662_575ecd48844b18149136a8a8bb81d9e2.jpg resize: (1080, 1632) 1346304662 -5.903033870328607 treat image : temp/1742602049_2622950_1346304341_421687fa4534f15094151652a29ce61e.jpg resize: (1080, 1632) 1346304341 -3.5233656717152155 treat image : temp/1742602049_2622950_1346304309_f75c5a6fea3737db9022b04cdfa95350.jpg resize: (1080, 1632) 1346304309 -2.506058638920245 treat image : temp/1742602049_2622950_1346304269_0af5c0f55037851c6f0fb48f5fbb8b84.jpg resize: (1080, 1632) 1346304269 -4.3907540950240245 treat image : temp/1742602049_2622950_1346304241_d66480a4be5e5b823f818eaed96fa53d.jpg resize: (1080, 1632) 1346304241 -4.60416979379907 treat image : temp/1742602049_2622950_1346304214_bfb26c2a485a5cc2203e5b601015545d.jpg resize: (1080, 1632) 1346304214 -6.2080601607475 treat image : temp/1742602049_2622950_1346304211_c3d8ccfab7f5a17b5ddbb0393ec0dbdd.jpg resize: (1080, 1632) 1346304211 -4.75858009715833 treat image : temp/1742602049_2622950_1346303612_28c4a6cc24a212d535fd034975fbc05a.jpg resize: (1080, 1632) 1346303612 -5.523853476760048 treat image : temp/1742602049_2622950_1346303569_30c5f9c398a2c3d4e181365ecda0e4be.jpg resize: (1080, 1632) 1346303569 -5.894164694392241 treat image : temp/1742602049_2622950_1346303521_5cb31a98f965a2cf9a8403428b7a2e35.jpg resize: (1080, 1632) 1346303521 -2.392562560796845 treat image : temp/1742602049_2622950_1346303496_e4465de585115d7a805a50a84b5180f3.jpg resize: (1080, 1632) 1346303496 -2.7737961259712267 treat image : temp/1742602049_2622950_1346303414_dabd42d389a81644ca865b3cddc30640.jpg resize: (1080, 1632) 1346303414 -5.837181739045087 treat image : temp/1742602049_2622950_1346303396_0cd8a6f2d8d292034e61fb6d7c19035a.jpg resize: (1080, 1632) 1346303396 -4.213778863896912 treat image : temp/1742602049_2622950_1346303364_2289859aed8a264f6081023ff226975e.jpg resize: (1080, 1632) 1346303364 -6.086478361147549 treat image : temp/1742602049_2622950_1346303334_16c340b89fb41834af24f463124df949.jpg resize: (1080, 1632) 1346303334 -6.796416495394828 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.3537273406982422 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.012912750244140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014896154403686523 save missing photos in datou_result : time spend for datou_step_exec : 15.20544719696045 time spend to save output : 0.38664674758911133 total time spend for step 1 : 15.59209394454956 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.48user 3.34system 0:22.50elapsed 79%CPU (0avgtext+0avgdata 139224maxresident)k 32inputs+10688outputs (17major+256964minor)pagefaults 0swaps