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 : 1699840 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 : 930>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/1699840/ 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.468954563140869 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 08:17: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/1747808247_1699840_1359975398_74f766144ccec83e53579020a86a373f.jpg resize: (1080, 1632) 1359975398 -4.302406753763357 treat image : temp/1747808247_1699840_1359975393_fd872bb63083bf14844db6aa25b714a9.jpg resize: (1080, 1632) 1359975393 -5.4325962867912505 treat image : temp/1747808247_1699840_1359975388_2582e3e20ff81403e50784c4f1c3b3da.jpg resize: (1080, 1632) 1359975388 -5.381233350709562 treat image : temp/1747808247_1699840_1359975385_efbca431baeee2f51e72bdbdfb5c1d27.jpg resize: (1080, 1632) 1359975385 -3.6692303258550463 treat image : temp/1747808247_1699840_1359975352_b39ed412dab22b4661f9b201bd22c27f.jpg resize: (1080, 1632) 1359975352 -4.213188040570883 treat image : temp/1747808247_1699840_1359975345_0d45d43eaf452b650a77ff0cc09eeeb3.jpg resize: (1080, 1632) 1359975345 -5.865599779371378 treat image : temp/1747808247_1699840_1359975338_375832b85b114b021d616cde1e093d2c.jpg resize: (1080, 1632) 1359975338 -4.704230054189242 treat image : temp/1747808247_1699840_1359975327_b2a3ff394806a05e0e7a7899655830d0.jpg resize: (1080, 1632) 1359975327 -5.449253643332186 treat image : temp/1747808247_1699840_1359975320_2565c924bf7839247cd33ee5af033c18.jpg resize: (1080, 1632) 1359975320 -5.441202767691768 treat image : temp/1747808247_1699840_1359975285_7ddf2b6293e1e1e12cb1fa4260d08918.jpg resize: (1080, 1632) 1359975285 -0.5974763199844014 treat image : temp/1747808247_1699840_1359975281_bfb8d2b9e282143ccf49b2cf5b46a57a.jpg resize: (1080, 1632) 1359975281 -2.247872727794156 treat image : temp/1747808247_1699840_1359975276_7ff735b8cd62632a252f666bc45ecff3.jpg resize: (1080, 1632) 1359975276 -3.7526674835063982 treat image : temp/1747808247_1699840_1359975237_6f1df84d7a8b7aed1a3913fa7fdca3a2.jpg resize: (1080, 1632) 1359975237 -5.510437351625343 treat image : temp/1747808247_1699840_1359975234_51c7f9c2677924572417a39475b936d5.jpg resize: (1080, 1632) 1359975234 -5.519821202995961 treat image : temp/1747808247_1699840_1359975230_c21e7b50fbd019a2809acfe38401bd2c.jpg resize: (1080, 1632) 1359975230 -6.24794798512976 treat image : temp/1747808247_1699840_1359975226_2f96aef025b7850358f19efeb59215c1.jpg resize: (1080, 1632) 1359975226 -5.990491754803602 treat image : temp/1747808247_1699840_1359975205_6c89e0e37cef307212123099f38692c1.jpg resize: (1080, 1632) 1359975205 -5.744057230583471 treat image : temp/1747808247_1699840_1359975200_1b9604e8dd0ee80ba283f2c54d745a36.jpg resize: (1080, 1632) 1359975200 -5.637404624281203 treat image : temp/1747808247_1699840_1359975195_c3fec4044750b0117f1fe41128ae4cb0.jpg resize: (1080, 1632) 1359975195 -4.849123040576942 treat image : temp/1747808247_1699840_1359975190_50aea02833b539d3594668eea37def50.jpg resize: (1080, 1632) 1359975190 -2.9373984082987605 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.012601852416992188 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.15416765213012695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2718658447265625 save missing photos in datou_result : time spend for datou_step_exec : 15.281779289245605 time spend to save output : 0.44318532943725586 total time spend for step 1 : 15.724964618682861 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 3.54system 0:20.55elapsed 85%CPU (0avgtext+0avgdata 137160maxresident)k 2648inputs+9752outputs (22major+256228minor)pagefaults 0swaps