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
has no attribute 'get_sampling_map' #7
Comments
Did you compile the Python extension as outlined in the readme?
|
yes,I have [100%] Linking CXX shared module preprocess.cpython-38-x86_64-linux-gnu.so |
What happens if you run |
/ext/preprocess$ python -c 'import preprocess; dir(preprocess)' |
That indicates that the extension has not been properly build. Maybe you are using a different Python version for building and running? |
How much Python do you use ? I use python 3.7.9 |
So
you used Python 3.8 for building the extension. You might need to change the Python interpreter that cmake is using. |
Ok, I will try again. Thank you very much. |
Thank you very much for your kind answer. My problem has been solved. |
Hi,
Thank you very much for sharing your code. But when I run your code, the following error occurs:
/FreeViewSynthesis/exp/dataset.py", line 165, in base_getitem
sampling_maps, valid_depth_masks, valid_map_masks = ext.preprocess.get_sampling_map(
AttributeError: module 'ext.preprocess' has no attribute 'get_sampling_map'
Hope you can help answer, thank you.
The text was updated successfully, but these errors were encountered: