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 : 3374024 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 : 2617>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3374024/ 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.6336731910705566 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 Mon May 12 17:57: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/1747065447_3374024_1357674556_1e764b7d0bc9856de29e0f418061541e.jpg resize: (1080, 1632) 1357674556 -1.2810191742504502 treat image : temp/1747065447_3374024_1357674489_87c424a61ce58e38eb11d7d73ae29a77.jpg resize: (1080, 1632) 1357674489 -1.655019643809326 treat image : temp/1747065447_3374024_1357674487_fef1a4665bb97dc931a1d5be482b4d79.jpg resize: (1080, 1632) 1357674487 -5.4058235381882485 treat image : temp/1747065447_3374024_1357674482_83878c23f8507f7ff6a2b48d9ff1d3a6.jpg resize: (1080, 1632) 1357674482 -6.5702890939127645 treat image : temp/1747065447_3374024_1357674478_9a22839e0bc83a8a68af9aebac792622.jpg resize: (1080, 1632) 1357674478 -6.264582229952683 treat image : temp/1747065447_3374024_1357674475_b7bb66e7e238269e73e83eeee8e53441.jpg resize: (1080, 1632) 1357674475 -5.7123351630740204 treat image : temp/1747065447_3374024_1357674472_7c8a7654684651011e470d431e6bef31.jpg resize: (1080, 1632) 1357674472 -5.713475431083599 treat image : temp/1747065447_3374024_1357672480_c1229c47e8a227f02da50f3bdab7dfd7.jpg resize: (1080, 1632) 1357672480 -5.968456563296082 treat image : temp/1747065447_3374024_1357672477_5bf3829577eb79da8b59c9043334ce4a.jpg resize: (1080, 1632) 1357672477 -4.6690430080599805 treat image : temp/1747065447_3374024_1357672474_f513fe9f4f0f2b8477f95bdbde901b7b.jpg resize: (1080, 1632) 1357672474 -6.045572308904444 treat image : temp/1747065447_3374024_1357672469_aeaa41843a9ffddade1356695865f6c0.jpg resize: (1080, 1632) 1357672469 -5.463563617965176 treat image : temp/1747065447_3374024_1357672173_bd6e0d68a50988893197ce37dac138cd.jpg resize: (1080, 1632) 1357672173 -5.290865246976747 treat image : temp/1747065447_3374024_1357672168_67bb7c104833d56497b19be082c68194.jpg resize: (1080, 1632) 1357672168 -5.968194659668959 treat image : temp/1747065447_3374024_1357672163_056a5331d99d3b626ee417d6c522ab1d.jpg resize: (1080, 1632) 1357672163 -5.289811993953613 treat image : temp/1747065447_3374024_1357672158_b784833dfbdce459c0a1f2baa53cfebe.jpg resize: (1080, 1632) 1357672158 -5.61376660815103 treat image : temp/1747065447_3374024_1357672154_d47e5f434941442bebfc402bf6546137.jpg resize: (1080, 1632) 1357672154 -4.259970398695323 treat image : temp/1747065447_3374024_1357672123_6e1a714f394988f785a8120dc25bef9f.jpg resize: (1080, 1632) 1357672123 -1.9712789967627686 treat image : temp/1747065447_3374024_1357672118_23f3ad6b090d690a8f36774bd89e727b.jpg resize: (1080, 1632) 1357672118 -1.7481635289588087 treat image : temp/1747065447_3374024_1357672112_93764352020229b5035169d2f8338e7c.jpg resize: (1080, 1632) 1357672112 -6.25086106395746 treat image : temp/1747065447_3374024_1357672108_db95a6c6e3dc9d439b570284d1ae635f.jpg resize: (1080, 1632) 1357672108 -6.263321652309572 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.014173746109008789 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.012594938278198242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014810323715209961 save missing photos in datou_result : time spend for datou_step_exec : 18.032459259033203 time spend to save output : 0.04682588577270508 total time spend for step 1 : 18.079285144805908 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.08user 5.78system 0:22.97elapsed 90%CPU (0avgtext+0avgdata 138636maxresident)k 1896inputs+10592outputs (26major+257534minor)pagefaults 0swaps