Open luoyexx opened 1 year ago
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_dirall 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.py
to 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 "
How to resolve this?
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
train_set = CARLA_Data(root=config.root_dir_all, data_folders=config.train_data, img_aug = config.img_aug)
File "/home/zjy/TCP/TCP/TCP/data.py", line 49, in init
data = np.load(os.path.join(sub_root, "packed_data.npy"), allow_pickle=True).item()
File "/home/zjy/anaconda3/envs/TCP/lib/python3.7/site-packages/numpy/lib/npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'Tcp/tcp_carla_data/town01/packed_data.npy'