TCP
TCP copied to clipboard
Excuse me, there are some operational problems about "python TCP/train.py --gpus"
Excuse me, there are some operational problems about "python TCP/train.py --gpus"
python TCP/train.py --gpus 1
Traceback (most recent call last):
File "TCP/train.py", line 171, in
Hi, you should set the root_dir_all variable in config.py to the actual directory of your data.
So sorry, I have set the root_dir_all variable for dataset in config.py. I use the Baidu Cloud dataset provided by you. I found that there is no packed_ data.npy in this dataset.
Sorry about this problem. Those files might get ignored for the Baidu Cloud zip file. You can use tools/gen_data.py to generate packed_data.npy files.
Sorry about this problem. Those files might get ignored for the Baidu Cloud zip file. You can use
tools/gen_data.pyto generate packed_data.npy files.
Thank. And another question.
(TCP) zjy@wp:~/TCP$ python TCP/train.py
0
0
Traceback (most recent call last):
File "TCP/train.py", line 177, in
ValueError: num_samples should be a positive integer value, but got num_samples=0
Could you please check the content of the packed_data.npy to see if it is correctly generated?
Exception ignored in: <function LeaderboardEvaluator.del at 0x7f81f5933200>
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 150, in del
self._cleanup()
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 162, in _cleanup
if self.manager and self.manager.get_running_status()
AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager'
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 529, in
Could you please provide all the error information? Usually, this del leaderboard_evaluator error happens after some other exceptions or errors.
Are you able to solve this error? I run
sh leaderboard/scripts/data_collection.sh
and I get this error:
init statistics_manager
begin
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 519, in main
leaderboard_evaluator = LeaderboardEvaluator(arguments, statistics_manager)
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 123, in init
self.module_agent = importlib.import_module(module_name)
File "/home/ryzen/miniconda3/envs/TCPagent/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
AttributeError: 'LeaderboardEvaluator' object has no attribute 'manager'
Traceback (most recent call last):
File "leaderboard/leaderboard/leaderboard_evaluator.py", line 529, in
How to resolve this?