graphics icon indicating copy to clipboard operation
graphics copied to clipboard

No chamfer distance in the installed tensorflow-graphics-gpu 1.0.0 package

Open Enigma-li opened this issue 4 years ago • 8 comments

Hi,

I installed the tensorflow-graphics-gpu as instructed here, but this version does not contain the chamfer distance.

How to resolve this?

Enigma-li avatar Dec 31 '20 02:12 Enigma-li

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?

johanesmikhael avatar Jan 20 '21 19:01 johanesmikhael

Same problem here. Any fix??

melhousni avatar Jan 22 '21 04:01 melhousni

exact same problem here, any solutions?

alimoeeny avatar Feb 28 '21 15:02 alimoeeny

Use:

from tensorflow.graphics.nn.loss import loss fn

msokoloff1 avatar Apr 23 '21 03:04 msokoloff1

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 .

git

Amruta-kabade avatar Oct 14 '21 13:10 Amruta-kabade

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.

dvbuntu avatar Nov 14 '21 01:11 dvbuntu

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.

Eastmanmd avatar Jan 02 '22 21:01 Eastmanmd