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 : 4093881 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 : 6851>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/4093881/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371586128 complete_path : /home/admin/workarea/git/Velours/python/temp/1752252150_4093881_1371586128_3021ba958e81cd4c0ceba62761e27435.jpg FBHTTP Error 404: Not Found can't download the photo : 1371586122 complete_path : /home/admin/workarea/git/Velours/python/temp/1752252150_4093881_1371586122_6c6d6620952c8934b278beefe366e8aa.jpg FBFwe have missing 2 photos in the step downloads : photo missing : [1371586128, 1371586122] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586128 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371586122 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.916794538497925 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 Jul 11 18:42:33 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/1752252150_4093881_1371636981_a8584c216c8eb79b8d52249e832cbc86.jpg resize: (1080, 1632) 1371636981 -2.444074862279054 treat image : temp/1752252150_4093881_1371636976_23bca317f7c490a6076ddf51302ea1bf.jpg resize: (1080, 1632) 1371636976 -2.194064825182195 treat image : temp/1752252150_4093881_1371636973_d7f1b3ee73b1b656f52c4c62e74b0f99.jpg resize: (1080, 1632) 1371636973 -0.4331251651330068 treat image : temp/1752252150_4093881_1371636968_d6d20220c163e11dad2fc52c1961f786.jpg resize: (1080, 1632) 1371636968 -4.668599807318522 treat image : temp/1752252150_4093881_1371636961_c4f242d9f65ef5898d56c6cd2eb8fba5.jpg resize: (1080, 1632) 1371636961 -4.494235540402172 treat image : temp/1752252150_4093881_1371636957_5cb1a7c6444769e4b3518d9bf54974de.jpg resize: (1080, 1632) 1371636957 -4.499024385707985 treat image : temp/1752252150_4093881_1371636742_796d2192b25cc834e6b31c15c94a6293.jpg resize: (1080, 1632) 1371636742 -5.015242601399879 treat image : temp/1752252150_4093881_1371636736_992893838612b47bbd48edd272fea0f4.jpg resize: (1080, 1632) 1371636736 -4.989762640772945 treat image : temp/1752252150_4093881_1371636730_fabe41598c0f0d2496b4d3d17f9f459d.jpg resize: (1080, 1632) 1371636730 -4.981936506002637 treat image : temp/1752252150_4093881_1371636726_a4fac853cb41c46b0b56f5e756150e98.jpg resize: (1080, 1632) 1371636726 -4.974638406921361 treat image : temp/1752252150_4093881_1371636714_22ed45b6208ca6d0f157077976707c04.jpg resize: (1080, 1632) 1371636714 -5.262239997879715 treat image : temp/1752252150_4093881_1371636711_4d8cd8e8e2e6adacb945886023ad9b11.jpg resize: (1080, 1632) 1371636711 -5.220106903499265 treat image : temp/1752252150_4093881_1371636706_f2f2149a3d5bd57e4ef5b95448a5236d.jpg resize: (1080, 1632) 1371636706 -5.29947287580827 treat image : temp/1752252150_4093881_1371636702_38106f32b0498a9e54974c084eaf23b9.jpg resize: (1080, 1632) 1371636702 -5.50880193469766 treat image : temp/1752252150_4093881_1371636698_d9e1d4010786c31faa9f32c4c66f7424.jpg resize: (1080, 1632) 1371636698 -5.5388822399399436 treat image : temp/1752252150_4093881_1371636692_465a6e5e683b8e4b2ea1bbb196dd5c99.jpg resize: (1080, 1632) 1371636692 -5.188590961032701 treat image : temp/1752252150_4093881_1371586137_071d9a26c6d75144b9b93af72f893786.jpg resize: (1080, 1632) 1371586137 -5.125445566359056 treat image : temp/1752252150_4093881_1371586120_f7f73e819b96a43a07b7090fc753e6b6.jpg resize: (1080, 1632) 1371586120 -5.23031022943408 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 : 18 time used for this insertion : 0.011907577514648438 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01192474365234375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01474452018737793 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.011135578155517578 time spend for datou_step_exec : 16.5693781375885 time spend to save output : 0.05431175231933594 total time spend for step 1 : 16.623689889907837 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.56user 5.32system 0:23.85elapsed 79%CPU (0avgtext+0avgdata 139308maxresident)k 40inputs+8256outputs (7major+241163minor)pagefaults 0swaps