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 : 3259697 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 : 2207>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3259697/ 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.3247594833374023 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 May 21 15:47:29 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/1747835246_3259697_1360050146_50fd2abd7257ba9602cd0dd2a21c3f76.jpg resize: (1080, 1632) 1360050146 -4.371568120630534 treat image : temp/1747835246_3259697_1360050092_a907dea2290b6bb2e75cc1188ba3158b.jpg resize: (1080, 1632) 1360050092 -5.397967032809478 treat image : temp/1747835246_3259697_1360050054_cd3b3d4ff940b8f4c4df1283cd4ad774.jpg resize: (1080, 1632) 1360050054 -5.68967146159623 treat image : temp/1747835246_3259697_1360050022_e9b5fc102f9c03fadf01246d6d059064.jpg resize: (1080, 1632) 1360050022 -5.1080537600225835 treat image : temp/1747835246_3259697_1360049990_3369e4f21c4a717e83b7a306e5e2860b.jpg resize: (1080, 1632) 1360049990 -3.428034900241804 treat image : temp/1747835246_3259697_1360049967_1cc8db05b6769b16233e56f9199a521e.jpg resize: (1080, 1632) 1360049967 -5.733757504853083 treat image : temp/1747835246_3259697_1360049855_81168a0c17cdcc97a08f370a17d2a073.jpg resize: (1080, 1632) 1360049855 -1.5637233791301124 treat image : temp/1747835246_3259697_1360049824_a3dff5d9613f61aca9316eda6034f90e.jpg resize: (1080, 1632) 1360049824 -1.4994092640445098 treat image : temp/1747835246_3259697_1360049786_111dbbed0470cd4907e120a3cf519f1d.jpg resize: (1080, 1632) 1360049786 -5.2613291632991075 treat image : temp/1747835246_3259697_1360049757_99ff2362bda4daad2f1c9ce08a98ebca.jpg resize: (1080, 1632) 1360049757 -5.678960229829856 treat image : temp/1747835246_3259697_1360049725_37039a006f7a805042b6da3ea31facba.jpg resize: (1080, 1632) 1360049725 -3.215764028631672 treat image : temp/1747835246_3259697_1360049695_ddbab32c64a9209c5fc7a0684c8171ca.jpg resize: (1080, 1632) 1360049695 -4.3747335841114 treat image : temp/1747835246_3259697_1360049429_07e29ac2b8b5a3c7540d0d9ab31c7cd6.jpg resize: (1080, 1632) 1360049429 -3.358684052569841 treat image : temp/1747835246_3259697_1360049424_d4931103adb0d94209440bc18ac79cd7.jpg resize: (1080, 1632) 1360049424 -6.2547283191629095 treat image : temp/1747835246_3259697_1360049419_668ed0287d191f5937eb6eac05ae3cf3.jpg resize: (1080, 1632) 1360049419 -6.350876698073615 treat image : temp/1747835246_3259697_1360049413_7adef24c5df4bfcff42dbb3cad455a4b.jpg resize: (1080, 1632) 1360049413 -0.897323064079957 treat image : temp/1747835246_3259697_1360049341_60fb24cf19f7e512f96c04fb6a2369ea.jpg resize: (1080, 1632) 1360049341 -2.7677227820616803 treat image : temp/1747835246_3259697_1360049314_904bde1aeafede2784fb101240d67fe8.jpg resize: (1080, 1632) 1360049314 -2.73357148393486 treat image : temp/1747835246_3259697_1360049285_44a18becc928e5f63d653fe5e8ff3ace.jpg resize: (1080, 1632) 1360049285 -3.9923132744446375 treat image : temp/1747835246_3259697_1360049256_b0578c1b42d3877671f6fe9d52d98e62.jpg resize: (1080, 1632) 1360049256 -5.605202463357723 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.012857198715209961 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.01283884048461914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016045808792114258 save missing photos in datou_result : time spend for datou_step_exec : 17.80443263053894 time spend to save output : 0.04664945602416992 total time spend for step 1 : 17.85108208656311 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 5.67system 0:21.82elapsed 92%CPU (0avgtext+0avgdata 141732maxresident)k 2600inputs+9656outputs (14major+260513minor)pagefaults 0swaps