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 : 3181965 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 : 646>100 please execute split_portfolio.py -i 20464234 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2578045'] with mtr_portfolio_ids : ['20464234'] and first list_photo_ids : [] new path : /proc/3181965/ 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.036156415939331 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 Wed Feb 12 11:47:28 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/1739357246_3181965_1337076995_a0d8fd545f93bdfc3e5cd3cce9eb946a.jpg resize: (1080, 1632) 1337076995 -5.8052640613838875 treat image : temp/1739357246_3181965_1337076961_9851f8eba744da0d6b4423cda69ca24b.jpg resize: (1080, 1632) 1337076961 -4.473497860836575 treat image : temp/1739357246_3181965_1337076957_7d5ffab6e0d98b53117bba75ac3c58ea.jpg resize: (1080, 1632) 1337076957 -3.8474917646838733 treat image : temp/1739357246_3181965_1337076931_7debe3ace1adfb6e9152fbc76e52ef70.jpg resize: (1080, 1632) 1337076931 -6.380701325028843 treat image : temp/1739357246_3181965_1337076875_ee97cfdbb9810b6ad8849d4057a642ec.jpg resize: (1080, 1632) 1337076875 -3.7720300670005487 treat image : temp/1739357246_3181965_1337076869_48792a7f27676e6057da227e4862450e.jpg resize: (1080, 1632) 1337076869 -5.349788652678902 treat image : temp/1739357246_3181965_1337076836_5517e2487d602e9db0835a56268848ae.jpg resize: (1080, 1632) 1337076836 -1.793967292234841 treat image : temp/1739357246_3181965_1337076830_8cccb6c8841de6694d43a06e9b4a1f15.jpg resize: (1080, 1632) 1337076830 -2.6519088380284424 treat image : temp/1739357246_3181965_1337076828_8ca77f66ac00826b51947506458fd6c5.jpg resize: (1080, 1632) 1337076828 -3.0447574994421007 treat image : temp/1739357246_3181965_1337076822_d79c5725485f7ac9253b45677d165c31.jpg resize: (1080, 1632) 1337076822 -3.778115484653865 treat image : temp/1739357246_3181965_1337076814_920f3afcc3a24d0972b32ef2e182867b.jpg resize: (1080, 1632) 1337076814 -3.998389436930841 treat image : temp/1739357246_3181965_1337076810_a2d12fb5f712c471a2e2ebe194f65ad2.jpg resize: (1080, 1632) 1337076810 -5.906664124132402 treat image : temp/1739357246_3181965_1337076792_f874bbf527bbb92d08c25249ff68c669.jpg resize: (1080, 1632) 1337076792 -5.110452298981283 treat image : temp/1739357246_3181965_1337076786_9237e5c14ca28aaa49eaec4aa9b0a07b.jpg resize: (1080, 1632) 1337076786 -5.502125213935746 treat image : temp/1739357246_3181965_1337076781_63579a90be9669e92daad3d3e6c17575.jpg resize: (1080, 1632) 1337076781 -4.796539481780834 treat image : temp/1739357246_3181965_1337076768_2669805bd300dd82f97f192c257f3484.jpg resize: (1080, 1632) 1337076768 -2.4844935942282937 treat image : temp/1739357246_3181965_1337076764_bd47f10a808b6cd02779064d110c6c5a.jpg resize: (1080, 1632) 1337076764 -1.6680117049720073 treat image : temp/1739357246_3181965_1337076758_e9596653de86ab1e61963133ca93a829.jpg resize: (1080, 1632) 1337076758 -4.039730193783471 treat image : temp/1739357246_3181965_1337076702_ef4ed08d2e9c08c8764db92d70b7d286.jpg resize: (1080, 1632) 1337076702 -2.6519088380284424 treat image : temp/1739357246_3181965_1337076697_d940149a66a447ddb96e10646b791fcd.jpg resize: (1080, 1632) 1337076697 -3.0447574994421007 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.01361703872680664 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.012937307357788086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014935016632080078 save missing photos in datou_result : time spend for datou_step_exec : 15.368396997451782 time spend to save output : 0.04690265655517578 total time spend for step 1 : 15.415299654006958 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 3.57system 0:19.35elapsed 93%CPU (0avgtext+0avgdata 139404maxresident)k 1832inputs+9088outputs (22major+264105minor)pagefaults 0swaps