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

About test #15

Closed
Kammagod opened this issue Aug 7, 2021 · 8 comments
Closed

About test #15

Kammagod opened this issue Aug 7, 2021 · 8 comments

Comments

@Kammagod
Copy link

Kammagod commented Aug 7, 2021

hi,
I want to input only one image without his voxel to reconstruction, is that feasible?

@czq142857
Copy link
Owner

czq142857 commented Aug 7, 2021

Yes. Please take a look at function test_image at modelSVR.py.

@Kammagod
Copy link
Author

Kammagod commented Aug 8, 2021

Yes. Please take a look at function test_image at modelSVR.py.

Thank you for your help,but in Class IM_SVR,data_hdf5 file is generated using voxels and images. Can I use only images to generate this file? Please give me some suggestions

@czq142857
Copy link
Owner

You can simply remove the data loading code, since the training data is not used in test_image.

@Kammagod
Copy link
Author

Kammagod commented Aug 8, 2021

Thank you! but in test, I should use self.dataset_load = self.dataset_name + '_test' and data_hdf5_name = self.data_dir+self.dataset_load+'.hdf5',i mean whether all_vox256_img_test.hdf5 file could be made just by images without their voxels?

@czq142857
Copy link
Owner

Yes, you can generate an hdf5 file with only 'pixels'. You can modify the data preparation code to achieve that. But why do you need an hdf5 file if you can directly input images using test_image?

@Kammagod
Copy link
Author

Kammagod commented Aug 8, 2021

Th

Yes, you can generate an hdf5 file with only 'pixels'. You can modify the data preparation code to achieve that. But why do you need an hdf5 file if you can directly input images using test_image?

There is no 'test_image' in class IM_SVR... In the code downloaded, there is only 'test_mesh' and 'test_mesh_point' method in class IM_SCR, which one is 'test_image'?

@czq142857
Copy link
Owner

Please clone this repo again. I added this function this morning after seeing this issue.

@czq142857 czq142857 reopened this Aug 8, 2021
@Kammagod
Copy link
Author

Kammagod commented Aug 8, 2021

Please clone this repo again. I added this function this morning after seeing this issue.

Thank you!

@Kammagod Kammagod closed this as completed Aug 8, 2021
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

2 participants