densecap icon indicating copy to clipboard operation
densecap copied to clipboard

The test of time

Open niu1970 opened this issue 5 years ago • 0 comments

(1) image

How long does it take to run the above code?The program has been running for nearly 12 hours since yesterday. It hasn't stopped yet. Is it my problem?

(2) Here are some of the outputs I set up for observation. Are there any questions? data: (tensor([[[ 0.3583, 0.5566, 0.6376, ..., 0.0000, 0.0000, 0.7460], [ 0.2583, 0.6598, 0.7826, ..., 0.0000, 0.2317, 0.0000], [ 0.2505, 0.7670, 0.8032, ..., 0.0337, 0.0000, 1.0795], ..., [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000], [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000], [ 0.0000, 0.0000, 0.0000, ..., 0.0000, 0.0000, 0.0000]]]), tensor([ 366], dtype=torch.int32), ['dataset/anet/ActivityNet\validation\NQOPahBcpSE']) cannot find frame_to_second for video ActivityNet\validation\NQOPahBcpSE Processing time for tIoU: 2.37, mask: 0.03, caption: 22.36 video_prefix: ['dataset/anet/ActivityNet\validation\NQOPahBcpSE'] Write results for video: ActivityNet\validation\NQOPahBcpSE

(3) Of 10 tests, but every video could give as many as that. Proosal's score ranged from about 0.999 to about 0.7.Something always feels wrong! image

image

(4) What should you do if you make such a mistake in your assessment? Traceback (most recent call last): File "D:/PythonCode1/densecap-master/test.py", line 270, in main() File "D:/PythonCode1/densecap-master/test.py", line 264, in main recall_area = validate(model, test_loader, args) File "D:/PythonCode1/densecap-master/test.py", line 216, in validate return eval_results(densecap_result, prop_result, args) File "D:/PythonCode1/densecap-master/test.py", line 247, in eval_results subset=args.val_data_folder, verbose=True, check_status=True) File "D:\PythonCode1\densecap-master\tools\eval_proposal_anet.py", line 46, in init self.blocked_videos = get_blocked_videos() File "D:\PythonCode1\densecap-master\data\utils.py", line 18, in get_blocked_videos response = urllib.request.urlopen(api_url) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 223, in urlopen return opener.open(url, data, timeout) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 532, in open response = meth(req, response) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 570, in error return self._call_chain(*args) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 504, in _call_chain result = func(*args) File "D:\Anaconda2\envs\py36\lib\urllib\request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 502: No data received from server or forwarder

Process finished with exit code 1

niu1970 avatar Jun 13 '20 00:06 niu1970