作者小头像 Lv.3
491 成长值

个人介绍

这个人很懒,什么都没有留下

感兴趣或擅长的领域

人工智能、IOT
个人勋章
  • 考证狂人
成长雷达
0
81
125
285
0

个人资料

个人介绍

这个人很懒,什么都没有留下

感兴趣或擅长的领域

人工智能、IOT

达成规则

发布时间 2021/04/16 09:36:25 最后回复 生道 2021/07/21 14:27:26 版块 AI大赛&活动
11462 17 0
发布时间 2021/01/12 10:29:16 最后回复 Archive 2021/06/17 10:52:06 版块 AI大赛&活动
5811 7 1
发布时间 2020/11/25 01:00:31 最后回复 达达678 2021/05/16 23:25:33 版块 AI大赛&活动
5540 4 0
他的回复:
Starting training...Traceback (most recent call last):File "src/train.py", line 165, in main(opt)File "src/train.py", line 77, in mainlog_dict_train, _ = trainer.train(epoch, train_loader)File "/cache/user-job-dir/src/lib/trains/base_trainer.py", line 123, in trainreturn self.run_epoch('train', epoch, data_loader)File "/cache/user-job-dir/src/lib/trains/base_trainer.py", line 61, in run_epochfor iter_id, batch in enumerate(data_loader):File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 345, in __next__data = self._next_data()File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 856, in _next_datareturn self._process_data(data)File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 881, in _process_datadata.reraise()File "/home/work/anaconda/lib/python3.6/site-packages/torch/_utils.py", line 394, in reraiseraise self.exc_type(msg)AttributeError: Caught AttributeError in DataLoader worker process 0.Original Traceback (most recent call last):File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loopdata = fetcher.fetch(index)File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetchdata = [self.dataset[idx] for idx in possibly_batched_index]File "/home/work/anaconda/lib/python3.6/site-packages/torch/utils/data/_utils/fetch.py", line 44, in data = [self.dataset[idx] for idx in possibly_batched_index]File "/cache/user-job-dir/src/lib/datasets/sample/ctdet.py", line 39, in __getitem__height, width = img.shape[0], img.shape[1]AttributeError: 'NoneType' object has no attribute 'shape'[ModelArts Service Log]modelarts-pipe: total length: 4888[Modelarts Service Log]Training end with return code: 1[Modelarts Service Log]Training completed.请问训练报这个错误如何处理?
发布时间 2020/12/04 09:55:30 最后回复 达达678 2021/05/16 22:42:13 版块 AI大赛&活动
2474 3 0