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 : 3951028 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 : 6341>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/3951028/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371588669 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249147_3951028_1371588669_96ec9295ce0579df481a4d551d07d887.jpg FBHTTP Error 404: Not Found can't download the photo : 1371588668 complete_path : /home/admin/workarea/git/Velours/python/temp/1752249147_3951028_1371588668_08c8fc1e338e283752a7824a03ca9f00.jpg FBFBFBFwe have missing 2 photos in the step downloads : photo missing : [1371588669, 1371588668] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588669 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371588668 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 3.2026052474975586 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 17:52: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/1752249147_3951028_1371627103_079705ec49f6b756dc02582618cab48e.jpg resize: (1080, 1632) 1371627103 -4.9436342488418346 treat image : temp/1752249147_3951028_1371627077_deeaf319abdcf850c151122850e2ddaf.jpg resize: (1080, 1632) 1371627077 -4.96124004455837 treat image : temp/1752249147_3951028_1371627041_61b956f63820517bb8e2174dcf766a3b.jpg resize: (1080, 1632) 1371627041 -4.957412581306447 treat image : temp/1752249147_3951028_1371626998_afd07f4218b025a7f7bd0540f7bd1e6f.jpg resize: (1080, 1632) 1371626998 -4.925712210285209 treat image : temp/1752249147_3951028_1371626967_fbb51d852677a98e4c60d207969668a5.jpg resize: (1080, 1632) 1371626967 -4.946049103004814 treat image : temp/1752249147_3951028_1371626936_fd74d1fd4ab88a0a5955f8889e6df6aa.jpg resize: (1080, 1632) 1371626936 -4.980786814389836 treat image : temp/1752249147_3951028_1371626857_c622caf740aac790b2f8945b9d993c97.jpg resize: (1080, 1632) 1371626857 -4.317687193488651 treat image : temp/1752249147_3951028_1371626852_2a10dd418885f8e4365deebe5aa7fd90.jpg resize: (1080, 1632) 1371626852 -4.310885795144426 treat image : temp/1752249147_3951028_1371626848_3562ee77845f5692e2a83676bfdafb64.jpg resize: (1080, 1632) 1371626848 -4.326497939794315 treat image : temp/1752249147_3951028_1371626846_b33349a38c6a617f22197d1c12621b82.jpg resize: (1080, 1632) 1371626846 -4.319219168046316 treat image : temp/1752249147_3951028_1371626842_c253782aeeb9e8ec2fd4fc610a7852ab.jpg resize: (1080, 1632) 1371626842 -4.346497235999642 treat image : temp/1752249147_3951028_1371626839_1e4581c1f479014491d82edca96618a5.jpg resize: (1080, 1632) 1371626839 -4.3870065098146656 treat image : temp/1752249147_3951028_1371588694_adf0a591986f4e0b93ed86a86390a4a0.jpg resize: (1080, 1632) 1371588694 -5.12983178668649 treat image : temp/1752249147_3951028_1371588682_7a4b8891e50e156dc2036d0b498d86d7.jpg resize: (1080, 1632) 1371588682 -5.2280030668484985 treat image : temp/1752249147_3951028_1371588680_e59a877c3f9b457c2ec95f5cee26a093.jpg resize: (1080, 1632) 1371588680 -5.201091198350591 treat image : temp/1752249147_3951028_1371588667_fb311c2d41fd2b89aee5b242806a8e88.jpg resize: (1080, 1632) 1371588667 -5.027764295944866 treat image : temp/1752249147_3951028_1371588656_61dbf8629375bfa2dd6467dad87642a5.jpg resize: (1080, 1632) 1371588656 -5.224014326047171 treat image : temp/1752249147_3951028_1371588638_8432727a2a4063049b7d4b53f2a10416.jpg resize: (1080, 1632) 1371588638 -5.219415511786539 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.012660980224609375 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.011793136596679688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013864755630493164 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.011116266250610352 time spend for datou_step_exec : 17.076782941818237 time spend to save output : 0.054566144943237305 total time spend for step 1 : 17.131349086761475 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.70user 5.55system 0:22.28elapsed 86%CPU (0avgtext+0avgdata 139224maxresident)k 64inputs+8728outputs (5major+249689minor)pagefaults 0swaps