microsoft / tensorflow-directml

Fork of TensorFlow accelerated by DirectML
Apache License 2.0
454 stars 32 forks source link

RC astro tool operations not supported in DirectML #415

Open chengdkf opened 7 months ago

chengdkf commented 7 months ago

System Information

Host System

Windows 11 Version : Windows 11 Pro 64-bit 23J2 (OS Build 22631.2861) Processor : AMD Ryzen 7 5700G with Radeon Graphics, 3801 Mhz, 8 Core(s), 16 Logical Processor(s) Memory : 64GB RAM DirectX Version : DirectX 12

DirectML version: TensorFlow-DirectML 1.15.8

DirectX Device

Description : AMD Radeon (TM) Graphics Manufacturer : AMD Chip Type : AMD Radeon Graphics Processor (0x1638) Dedicated Memory : 4079 MB Driver Version : 31.0.21905.1001 Driver Model : WDDM 3.1 Driver Date : 10/17/2023 08:00:00 Feature Levels : 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1



# Repro Details

**Describe the current behavior**

When RC astro's BlurXTerminator  and StarXTerminator is run in PixInsight, the following error is encountered.

RC astro's website: https://www.rc-astro.com/software/

BlurXTerminator 2.0.0 AI 4:

*** Error: ERROR: MLLoad() could not load tensorflow graph. Error 3: NodeDef mentions attr ‘explicit_paddings’ not in Op output:T; attr=T:type,default=DT_FLOAT,allowed=[DT_HALF, DT_BFLOAT16, DT_FLOAT, DT_DOUBLE, DT_INT32, DT_INT64, DT_UINT8, DT_INT16, DT_INT8, DT_UINT16, DT_QINT8]; attr=ksize:list(int),min=4; attr=strides:list(int),min=4; attr=padding:string,allowed=[“SAME”, “VALID”]; attr=data_format:string,default=”NHWC”,allowed=[“NHWC”, “NCHW”, “NCHW_VECT_C”]>; NodeDef: {{node BXT/max_pooling2d_14/MaxPool}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).

StarXTerminator:

*** Error: ERROR: MLLoad() could not load tensorflow graph. Error 3: NodeDef mentions attr ‘explicit_paddings’ not in Op output:T; attr=T:type,allowed=[DT_HALF, DT_BFLOAT16, DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=padding:string,allowed=[“SAME”, “VALID”]; attr=data_format:string,default=”NHWC”,allowed=[“NHWC”, “NCHW”]; attr=dilations:list(int),default=[1, 1, 1, 1]>; NodeDef: {{node starX/add_noise_4/gaussian_filter2d/PartitionedCall/depthwise}}. (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).

**Describe the expected behavior**

Can the development team provide a new version of the Tensorflow-DirectML to support these operations?
stone17 commented 7 months ago

Nothing has happened here for a year. Not sure why TF2.1 support is not added... :(