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 : 1583688 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 : 1472>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/1583688/ 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.511667490005493 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 07:32: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/1747114348_1583688_1357772554_55707c1b2493c0d61396a99442c29641.jpg resize: (1080, 1632) 1357772554 -5.520485751724245 treat image : temp/1747114348_1583688_1357772550_38cfa05d650a2a4f7bb00221ff7d4707.jpg resize: (1080, 1632) 1357772550 -5.574615432613969 treat image : temp/1747114348_1583688_1357771463_59ec662ed5a4b70dcd2a1c6399049c9c.jpg resize: (1080, 1632) 1357771463 -4.63397395702189 treat image : temp/1747114348_1583688_1357771395_e31fc1fce2c5b77d39884876d4589f41.jpg resize: (1080, 1632) 1357771395 -4.6392763973833135 treat image : temp/1747114348_1583688_1357771188_043fae17971b2da0baf658d29c395f70.jpg resize: (1080, 1632) 1357771188 -2.11697576182641 treat image : temp/1747114348_1583688_1357771176_091e0f2f2a579f3d36284f854c81fa27.jpg resize: (1080, 1632) 1357771176 -1.7487226818192312 treat image : temp/1747114348_1583688_1357771055_58ebccad57d40b775ae7fe07bed30af3.jpg resize: (1080, 1632) 1357771055 -5.410472358231544 treat image : temp/1747114348_1583688_1357770987_9fb27247809ba3fbfe854342a7052f72.jpg resize: (1080, 1632) 1357770987 -3.5883037007654743 treat image : temp/1747114348_1583688_1357770841_d213a474bcc0a9d08fefdeea9682d0d5.jpg resize: (1080, 1632) 1357770841 -5.873310366422101 treat image : temp/1747114348_1583688_1357770837_8e61ad9efe30b6f4e481ede74054aed6.jpg resize: (1080, 1632) 1357770837 -3.6242046791376437 treat image : temp/1747114348_1583688_1357770835_d4f6ab823812a60cb187d6ac7b1d31e8.jpg resize: (1080, 1632) 1357770835 -5.311392533601151 treat image : temp/1747114348_1583688_1357770833_07f7dc129e14c813ec48ae5f142729e7.jpg resize: (1080, 1632) 1357770833 -4.843107744165144 treat image : temp/1747114348_1583688_1357770830_545a87738de2fa0c96ab4ab114b3df65.jpg resize: (1080, 1632) 1357770830 -2.678407244103919 treat image : temp/1747114348_1583688_1357770806_ef47d10a548b8da197038adf6f2917b4.jpg resize: (1080, 1632) 1357770806 -5.38749856394616 treat image : temp/1747114348_1583688_1357770802_c53ee19183e98e167c693d63334e275b.jpg resize: (1080, 1632) 1357770802 -5.945513561987274 treat image : temp/1747114348_1583688_1357770800_205f836c8f54431a1ff686cb4a610b9b.jpg resize: (1080, 1632) 1357770800 -5.664482509960641 treat image : temp/1747114348_1583688_1357770797_96d8fde209c09d3633f4bff9755813b1.jpg resize: (1080, 1632) 1357770797 -4.61632532315308 treat image : temp/1747114348_1583688_1357770795_bc227ae4cdf669b431b797bf252bdf96.jpg resize: (1080, 1632) 1357770795 -4.949018921936403 treat image : temp/1747114348_1583688_1357770773_d4275e88459bad711fb8d23941f13812.jpg resize: (1080, 1632) 1357770773 -2.1084076122685906 treat image : temp/1747114348_1583688_1357770770_7b2b80e48fc6a040200faa0ff30e1283.jpg resize: (1080, 1632) 1357770770 -3.980118199934022 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.016879796981811523 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.24686360359191895 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09779858589172363 save missing photos in datou_result : time spend for datou_step_exec : 15.818480730056763 time spend to save output : 0.36600756645202637 total time spend for step 1 : 16.18448829650879 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 3.64system 0:22.64elapsed 80%CPU (0avgtext+0avgdata 140124maxresident)k 152inputs+9176outputs (2major+260702minor)pagefaults 0swaps