Open Enigma-li opened 3 years ago
Hello, I had the same problem too. I am using tf 2.4 python 3.6 in Windows 10 with gpu enabled. I installed tfg
but I realized in tfg.nn
module only layer
module installed, both metric
and loss
modules are missing. Do I miss something?
Same problem here. Any fix??
exact same problem here, any solutions?
Use:
from tensorflow.graphics.nn.loss import loss fn
Yeah! the problem still persists. How can I access chamfer distance in tensorflow-gpu windows 10? Any suggestions appreciated..
I have attached the screenshot of the error: it says 'tensorflow_graphics.nn' has no attribute 'loss' Thank you .
The loss
module was only added in early 2020, so it's not in the prebuilt pip
version (dated May 2019). You can try to install the most recent version with pip install tensorflow-graphics==2021.10.21
. I had to muck around a bit to make it importable (apparently it wants some environment variable set, but I just overrode it), but it seems to run ok.
Was this problem fully resolved ? I tried installing the most recent version and I am still having the same problem when trying to use chamfer distance.
from tensorflow_graphics.nn.loss import chamfer_distance
loss = chamfer_distance.evaluate(p1, p2)
Hi,
I installed the tensorflow-graphics-gpu as instructed here, but this version does not contain the chamfer distance.
How to resolve this?