Search Issue Tracker

Fixed

Fixed in 2.2.0

Votes

0

Found in [Package]

2.2.0

Issue ID

BAR-163

Regression

Yes

"cannot convert from 'Unity.Barracuda.BarracudaArray' to 'float[]'" using Ml-agents project

Package: Barracuda

-

Reproduction steps:
# Download and open the Ml-agents project: [https://github.com/Unity-Technologies/ml-agents]
# Update Barracuda to 2.2.0.
# Inspect the console.

 

Actual result:

* Error message - "com.unity.ml-agents/Runtime/Analytics/InferenceAnalytics.cs(277,29): error CS1503: Argument 1: cannot convert from 'Unity.Barracuda.BarracudaArray' to 'float[]'"

* Code editor points to the "layer.weights" code.

 

 

Reproduced with Barracuda 2.2.0

Not reproducible with Barracuda 2.1.0

 

  1. Resolution Note (fix version 2.2.0):

    verified in 2.2.0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.