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 : 2372837 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 : 384>100 please execute split_portfolio.py -i 22024890 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2720883'] with mtr_portfolio_ids : ['22024890'] and first list_photo_ids : [] new path : /proc/2372837/ 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.0886218547821045 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 Tue Apr 15 10:07: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/1744704448_2372837_1349832462_637a47f0e286a767478063353566cecb.jpg resize: (1080, 1632) 1349832462 -6.1972186660950035 treat image : temp/1744704448_2372837_1349832428_2f8c9f8c39b395dffbf97f1c0f98f29a.jpg resize: (1080, 1632) 1349832428 -4.822740898335895 treat image : temp/1744704448_2372837_1349832393_a8b46b013db1694bde8d89571f6cba9a.jpg resize: (1080, 1632) 1349832393 -2.0073622142660184 treat image : temp/1744704448_2372837_1349832374_3c340a280d5382fb5cf6232e9d1ab4f2.jpg resize: (1080, 1632) 1349832374 -2.2676567636179694 treat image : temp/1744704448_2372837_1349832360_23ac19974bc728586f00620b1014d004.jpg resize: (1080, 1632) 1349832360 -4.479757354592208 treat image : temp/1744704448_2372837_1349832342_80606e788d25f5e61df5fef0f16f3266.jpg resize: (1080, 1632) 1349832342 -4.60046764284881 treat image : temp/1744704448_2372837_1349832271_b9ec97da0358a7ffa80547537bf70ac7.jpg resize: (1080, 1632) 1349832271 -5.691649085189914 treat image : temp/1744704448_2372837_1349832249_76aee83dbdf22ccd997039c9ae8995e7.jpg resize: (1080, 1632) 1349832249 -3.559501569388187 treat image : temp/1744704448_2372837_1349832243_1828fdb52b77dc27ce376c8228d1c67b.jpg resize: (1080, 1632) 1349832243 -2.114569280827348 treat image : temp/1744704448_2372837_1349832102_e4f779549a6cb78f5f515fed0ece8c5e.jpg resize: (1080, 1632) 1349832102 -3.4776051480175125 treat image : temp/1744704448_2372837_1349832066_023d136960f84122edcb110ac29094fe.jpg resize: (1080, 1632) 1349832066 -5.124225891895969 treat image : temp/1744704448_2372837_1349832034_333168ca3e5600ef70f7f3974045d401.jpg resize: (1080, 1632) 1349832034 -5.717534190980971 treat image : temp/1744704448_2372837_1349831342_91924a1988b7f8738b384c2c94b42c64.jpg resize: (1080, 1632) 1349831342 -5.34188794896852 treat image : temp/1744704448_2372837_1349831320_3becad7166b4daad568dafdf82cfacfc.jpg resize: (1080, 1632) 1349831320 -5.584026988094304 treat image : temp/1744704448_2372837_1349831280_5ba51805814a952d876e5069fbbae49b.jpg resize: (1080, 1632) 1349831280 -5.707392282759944 treat image : temp/1744704448_2372837_1349831271_904d6f76dbcbcf3ebef09f24d95481d5.jpg resize: (1080, 1632) 1349831271 -2.3193150498336177 treat image : temp/1744704448_2372837_1349831166_080e6fd6297a6b87a546335279abd73b.jpg resize: (1080, 1632) 1349831166 -1.9990079862035635 treat image : temp/1744704448_2372837_1349831157_4014384fbf547044c8aad13c92648e6a.jpg resize: (1080, 1632) 1349831157 -3.196950098532548 treat image : temp/1744704448_2372837_1349831112_e1c595c148f2a4cf15d830dcb9556ae3.jpg resize: (1080, 1632) 1349831112 -1.8112841273922962 treat image : temp/1744704448_2372837_1349831094_dcc236c438df74c1a397983505a3f654.jpg resize: (1080, 1632) 1349831094 -3.554018708740125 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.013560295104980469 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.012752771377563477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016266345977783203 save missing photos in datou_result : time spend for datou_step_exec : 16.784412622451782 time spend to save output : 0.04864025115966797 total time spend for step 1 : 16.83305287361145 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.03user 4.88system 0:22.23elapsed 89%CPU (0avgtext+0avgdata 141260maxresident)k 24inputs+8992outputs (0major+247108minor)pagefaults 0swaps