Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

error AssertionException: Assertion failure. Values are not equal.

Discussion in 'ML-Agents' started by XSquare2, Apr 12, 2021.

  1. XSquare2

    XSquare2

    Joined:
    May 7, 2018
    Posts:
    8
    Hello, if you change the config to this, then when using the training model in the editor, an error "AssertionException: Assertion failure. Values are not equal" appears. What could be the reason?


    behaviors:
    Image:
    trainer_type: ppo
    hyperparameters:
    batch_size: 256
    buffer_size: 4098
    learning_rate: 0.0003
    beta: 0.01
    epsilon: 0.1
    lambd: 0.95
    num_epoch: 5
    learning_rate_schedule: linear
    network_settings:
    normalize: false
    hidden_units: 1024
    num_layers: 1
    vis_encode_type: resnet
    conditioning_type: hyper
    reward_signals:
    extrinsic:
    gamma: 0.9
    strength: 1
    network_settings:
    normalize: false
    hidden_units: 512
    num_layers: 1
    vis_encode_type: nature_cnn
    conditioning_type: hyper
    keep_checkpoints: 5
    max_steps: 100000000
    time_horizon: 128
    summary_freq: 5000
     

    Attached Files:

  2. andrewcoh_unity

    andrewcoh_unity

    Unity Technologies

    Joined:
    Sep 5, 2019
    Posts:
    162
    Hi @XSquare2

    Can you share the full stack trace of the assertion?

    Also, what exactly did you change in the config?