Skip to content

Кажется нехватает модуля utils.enums #1

@UtkinIgor

Description

@UtkinIgor

Привет. Пытаюсь запустить симулятор аукциона notebooks/example.ipynb, но уже при импорте агентов получаю ошибку


ModuleNotFoundError Traceback (most recent call last)
Cell In[7], line 3
1 import rtb_env
----> 3 from constant_bid_agent import ConstantBidAgent
4 from random_bid_agent import RandomBidAgent
5 from linear_bid_agent import LinearBidAgent

File ~/REPOS/rlrtb/scripts/agents/constant_bid_agent.py:1
----> 1 from utils.simple_base_agent import SimpleBaseAgent
4 class ConstantBidAgent(SimpleBaseAgent):
5 """
6 Agent that makes a bid equal to the AD contract price.
7
(...) 19 act: generate constant bid response
20 """

File ~/REPOS/rlrtb/scripts/agents/utils/simple_base_agent.py:3
1 from abc import ABC, abstractmethod
----> 3 from utils.enums import StateKeys
6 class SimpleBaseAgent(ABC):
7 """
8 Base class for bid optimization agents in real-time advertising auctions. Provides common functionality and
9 interface for all agent implementations.
(...) 31 done: check if the budget is exhausted
32 """

ModuleNotFoundError: No module named 'utils.enums'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions