Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #31

Open
LiuJinhui123 opened this issue Jun 30, 2021 · 7 comments
Open

test #31

LiuJinhui123 opened this issue Jun 30, 2021 · 7 comments

Comments

@LiuJinhui123
Copy link

fastmvsnet.utils.checkpoint INFO: Loading checkpoint from /home/camellia/fastMVSNet-master/outputs/pretrained.pth
Traceback (most recent call last):
File "/home/camellia/fastMVSNet-master/fastmvsnet/test.py", line 141, in
main()
File "/home/camellia/fastMVSNet-master/fastmvsnet/test.py", line 137, in main
test(cfg, output_dir, isCPU=isCPU)
File "/home/camellia/fastMVSNet-master/fastmvsnet/test.py", line 98, in test
test_model(model,
File "/home/camellia/fastMVSNet-master/fastmvsnet/test.py", line 63, in test_model
for iteration, data_batch in enumerate(data_loader):
File "/home/camellia/anaconda3/envs/my/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in next
data = self._next_data()
File "/home/camellia/anaconda3/envs/my/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/home/camellia/anaconda3/envs/my/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/camellia/anaconda3/envs/my/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/camellia/fastMVSNet-master/fastmvsnet/../fastmvsnet/dataset.py", line 271, in getitem
h_scale = float(self.height) / images[0].shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'

@Suyang0627
Copy link

have you fix the problem? I have met the same situation :(

@Innocence4822
Copy link

have you fix the problem? I have met the same situation @LiuJinhui123

@Innocence4822
Copy link

have you fix the problem? I have met the same situation @Suyang0627

@yizhixiaoma
Copy link

have you fix the problem? I have met the same situation @Suyang0627@LiuJinhui123@Innocence4822

@Innocence4822
Copy link

Innocence4822 commented Jan 12, 2022 via email

@yizhixiaoma
Copy link

I'm sorry, I haven't solved this problem yet

------------------ 原始邮件 ------------------ 发件人: "callmeray/PointMVSNet" @.>; 发送时间: 2022年1月12日(星期三) 中午1:22 @.>; @.@.>; 主题: Re: [callmeray/PointMVSNet] test (#31) have you fix the problem? I have met the same situation @@.@Innocence4822 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.>

I solved this problem. The reason of the error is that we use the incorrect dataset or folder path. The images is None.
Are you Chinese? Maybe we could make a friend.
I'm learning the 3D model reconstruction problem too.

@Innocence4822
Copy link

Innocence4822 commented Jan 13, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants