-
Notifications
You must be signed in to change notification settings - Fork 43
Dear author, thanks for you perfect code ,but I missed a problem when I try to run it on my device. I beg you advices! #35
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
Comments
It seems that the |
yeah! You are greate! But I missed a new question with colmap, what should I do next? Best wishes to you! |
The message thrown by the code shows that the coarse SfM failed. It seems that you are running our demo data, which has been tested working well by us. You can try out setting |
I create the environment in a new ubuntu system , and it encounter a new question. Processing /media/yuanjia/Y/code/detectorfreesfm/third_party/RoIAlign.pytorch × python setup.py egg_info did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. × Encountered error while generating package metadata. note: This is an issue with the package mentioned above, not pip. |
It can be seen from AUTOMATIC1111/stable-diffusion-webui#15863 (comment) |
same question, do you have any solutions yet bro |
finally i tried out the successful way to solve this problem, it is because of the version of setuptools, you can try to downgrade it to lower version like 69.5.1 |
NameError: name 'torchmetrics' is not defined
The specific situation is list as follows
Traceback (most recent call last):
File "/media/yjc/G/DetectorFreeSfM/eval_dataset.py", line 13, in <module>
import torchmetrics
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/init.py", line 26, in <module>
from torchmetrics import functional # noqa: E402
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/functional/init.py", line 14, in <module>
from torchmetrics.functional.audio._deprecated import _permutation_invariant_training as permutation_invariant_training
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/functional/audio/init.py", line 14, in <module>
from torchmetrics.functional.audio.pit import permutation_invariant_training, pit_permutate
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/functional/audio/pit.py", line 22, in <module>
from torchmetrics.utilities import rank_zero_warn
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/utilities/init.py", line 14, in <module>
from torchmetrics.utilities.checks import check_forward_full_state_property
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/utilities/checks.py", line 25, in <module>
from torchmetrics.metric import Metric
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/metric.py", line 30, in <module>
from torchmetrics.utilities.data import (
File "/home/yjc/miniconda3/envs/detectorfreesfm/lib/python3.9/site-packages/torchmetrics/utilities/data.py", line 38, in <module>
def dim_zero_sum(x: Tensor) -> torchmetrics.utilities.dataTensor:
NameError: name 'torchmetrics' is not defined
The text was updated successfully, but these errors were encountered: