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 : 1900443 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 : 1787>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1900443/ 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.328030586242676 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 May 13 09:02:31 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/1747119749_1900443_1357785778_b22320d9c5436ad1382de9389aa28201.jpg resize: (1080, 1632) 1357785778 -6.061722262109438 treat image : temp/1747119749_1900443_1357785674_cd70df09e93765d2bf396fbc78d66ab8.jpg resize: (1080, 1632) 1357785674 -6.289830532745438 treat image : temp/1747119749_1900443_1357785058_5441e5e84b335a0d8c5dcb930286a17c.jpg resize: (1080, 1632) 1357785058 -1.5645400089483779 treat image : temp/1747119749_1900443_1357785045_49620700fa0a9cf4c36b61f4fd90c274.jpg resize: (1080, 1632) 1357785045 -4.750972716828772 treat image : temp/1747119749_1900443_1357785041_0420ec885a6f9a888562fa9e7c506847.jpg resize: (1080, 1632) 1357785041 -3.660890742048319 treat image : temp/1747119749_1900443_1357785037_bb64eb6caff3db63a823937ee5cf5513.jpg resize: (1080, 1632) 1357785037 -4.8533262162992425 treat image : temp/1747119749_1900443_1357783987_c3f8679d726e865f5d581ed7e036efc1.jpg resize: (1080, 1632) 1357783987 -4.323785510227508 treat image : temp/1747119749_1900443_1357783961_e77f71f38bdfb5dec554a1c6f40eafb0.jpg resize: (1080, 1632) 1357783961 -4.540230156946314 treat image : temp/1747119749_1900443_1357783934_68228aa0cd314198f254a23b08a36486.jpg resize: (1080, 1632) 1357783934 -5.939960215155941 treat image : temp/1747119749_1900443_1357783906_5a871d49bd45029538f818b6de303f6a.jpg resize: (1080, 1632) 1357783906 -5.5650870278747036 treat image : temp/1747119749_1900443_1357783696_40fe8a2c56eb358bf1b845fa3289e765.jpg resize: (1080, 1632) 1357783696 -5.2936819781338835 treat image : temp/1747119749_1900443_1357783664_728bda29ba2d3024f0974526fc047544.jpg resize: (1080, 1632) 1357783664 -5.203886329993303 treat image : temp/1747119749_1900443_1357783636_1b7aed2d6eef8163120e827b22e840b3.jpg resize: (1080, 1632) 1357783636 -5.403911691065685 treat image : temp/1747119749_1900443_1357783594_e5a765c24d195e2360800f148cff495a.jpg resize: (1080, 1632) 1357783594 -4.007022668895856 treat image : temp/1747119749_1900443_1357783546_eb3ed26ce1536c5a0c77b854cf59f2d1.jpg resize: (1080, 1632) 1357783546 -0.5332111744174175 treat image : temp/1747119749_1900443_1357769555_aa5c50024e5bb9ec0abdd3af3149d469.jpg resize: (1080, 1632) 1357769555 -6.018341160700826 treat image : temp/1747119749_1900443_1357769552_6c510bc2a40c4f7c32613e322b256e4d.jpg resize: (1080, 1632) 1357769552 -3.598686012636077 treat image : temp/1747119749_1900443_1357769547_3844d69b06cca16780462c9a5d02a014.jpg resize: (1080, 1632) 1357769547 -3.493344048054809 treat image : temp/1747119749_1900443_1357769513_486159a7e9dbfaecc0a5d9b234cebee7.jpg resize: (1080, 1632) 1357769513 -3.3005661135839732 treat image : temp/1747119749_1900443_1357769512_d0e4b9bbfabcd9e23e8b8caa73204e3a.jpg resize: (1080, 1632) 1357769512 -1.2795863980622881 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.013790369033813477 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.020148277282714844 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025730133056640625 save missing photos in datou_result : time spend for datou_step_exec : 17.856372594833374 time spend to save output : 0.08339238166809082 total time spend for step 1 : 17.939764976501465 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.82user 6.53system 0:23.49elapsed 90%CPU (0avgtext+0avgdata 139740maxresident)k 4992inputs+9568outputs (40major+256339minor)pagefaults 0swaps