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 : 3101831 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 : 7236>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3101831/ 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.5656254291534424 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 Jul 5 04:42: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/1751683348_3101831_1370735091_7f0938b899eca6586990194e41614ccc.jpg resize: (1080, 1632) 1370735091 -3.8488509094048977 treat image : temp/1751683348_3101831_1370735089_f828522bdfc4bf582f925a289172af31.jpg resize: (1080, 1632) 1370735089 -3.840451840346035 treat image : temp/1751683348_3101831_1370735084_898cff1a07cccbd48d11af0928bb54bc.jpg resize: (1080, 1632) 1370735084 -3.811197555336969 treat image : temp/1751683348_3101831_1370735079_75a27f51a2e82d8731f884e728fd2be9.jpg resize: (1080, 1632) 1370735079 -3.7148414012677313 treat image : temp/1751683348_3101831_1370735075_21f2ad522ad84cdb82e42f60a9343c54.jpg resize: (1080, 1632) 1370735075 -3.7326486371472374 treat image : temp/1751683348_3101831_1370735073_05564fd83494eeed416f8bfac9ca9c28.jpg resize: (1080, 1632) 1370735073 -3.708815748622747 treat image : temp/1751683348_3101831_1370734952_0c1191d22f00d2e64cd26aa222518f7d.jpg resize: (1080, 1632) 1370734952 -3.663727222947752 treat image : temp/1751683348_3101831_1370734950_255ff871f63bca78395543acbc5c5b1e.jpg resize: (1080, 1632) 1370734950 -3.6603559487553685 treat image : temp/1751683348_3101831_1370734948_f1815b133654cff79f6ad50d18d62f1b.jpg resize: (1080, 1632) 1370734948 -3.7060398119824964 treat image : temp/1751683348_3101831_1370734943_8a01ed782224094d82981ec2b0daf158.jpg resize: (1080, 1632) 1370734943 -3.745972785938132 treat image : temp/1751683348_3101831_1370734939_04fa66db2e7ff946cbdee6f3402951e7.jpg resize: (1080, 1632) 1370734939 -3.7692430887026163 treat image : temp/1751683348_3101831_1370734893_22821d22f0c6abeeefdfd543d28a0f9a.jpg resize: (1080, 1632) 1370734893 -3.812137300759908 treat image : temp/1751683348_3101831_1370734762_0891541004950a3367d462dbc5cd8dc0.jpg resize: (1080, 1632) 1370734762 -3.796255283936015 treat image : temp/1751683348_3101831_1370734760_84e0b2eb1cd70292ec655c5b1682ad01.jpg resize: (1080, 1632) 1370734760 -3.7915856311988927 treat image : temp/1751683348_3101831_1370734759_d860c028fc41966891399166db6402d9.jpg resize: (1080, 1632) 1370734759 -3.782223491159093 treat image : temp/1751683348_3101831_1370734755_ef263261d2edbbbd9432bc25a33281f4.jpg resize: (1080, 1632) 1370734755 -3.7856768202169633 treat image : temp/1751683348_3101831_1370734751_1f1f66f925b978ead557f96487af493b.jpg resize: (1080, 1632) 1370734751 -3.8152393279782855 treat image : temp/1751683348_3101831_1370734747_592c7717b395376789609d6c3f8ea095.jpg resize: (1080, 1632) 1370734747 -3.7594644158298887 treat image : temp/1751683348_3101831_1370734681_f8f5e51527b8ff4e2d9cd036fb981c52.jpg resize: (1080, 1632) 1370734681 -3.7227057512753903 treat image : temp/1751683348_3101831_1370734680_a1c8474edc36e15e926d2597d7851e87.jpg resize: (1080, 1632) 1370734680 -3.7075946002502627 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.014783859252929688 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.01597762107849121 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019028425216674805 save missing photos in datou_result : time spend for datou_step_exec : 15.58369779586792 time spend to save output : 0.054364681243896484 total time spend for step 1 : 15.638062477111816 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 3.74system 0:21.41elapsed 85%CPU (0avgtext+0avgdata 138540maxresident)k 3328inputs+7560outputs (24major+203902minor)pagefaults 0swaps