Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

require 'override' keyword #3

Open
@xieyi4650

Description

@xieyi4650

🐛 Bug Report

run
cd examples/cifar/ and run flowing readme, but got the flowing error:

envs/diffq/lib/python3.7/site-packages/hydra/_internal/defaults_list.py:389: UserWarning: In config.yaml: Invalid over
riding of hydra/job_logging:
Default list overrides requires 'override' keyword.
See https://hydra.cc/docs/next/upgrades/1.0_to_1.1/defaults_list_override for more information.

change examples/cifar/conf/config.yaml
from
  1 defaults:
  2   - hydra/job_logging: colorlog
  3   - hydra/hydra_logging: colorlog

into

  1 defaults:
  2   - override hydra/job_logging: colorlog
  3   - override hydra/hydra_logging: colorlog
can fix the issue

To Reproduce

(Write your steps here:)

pip install .
make examples
cd examples/cifar
pip install -r requirements
./train.py db.name=cifar100 model=mobilenet quant.bits=3 quant.qat=True

Expected behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Add screenshots, if applicable.)

Your Environment

  • Python and PyTorch version:
  • Operating system and version (desktop or mobile):
  • Hardware (gpu or cpu, amount of RAM etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions