Skip to content

when i using this to train ,there comes a attributrerror #1

Open
@houmaolin

Description

@houmaolin

image

Usage of Session.init is deprecated!
Traceback (most recent call last):
File "examples/train_d4rl.py", line 19, in
fire.Fire(run_algo)
File "/root/anaconda3/envs/off/lib/python3.7/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/root/anaconda3/envs/off/lib/python3.7/site-packages/fire/core.py", line 471, in _Fire
target=component.name)
File "/root/anaconda3/envs/off/lib/python3.7/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "examples/train_d4rl.py", line 12, in run_algo
algo_trainer = algo_trainer_obj(algo_init, algo_config)
File "/root/git/OfflineRL/offlinerl/algo/modelfree/cql.py", line 100, in init
super(AlgoTrainer, self).init(args)
File "/root/git/OfflineRL/offlinerl/algo/base.py", line 29, in init
self.index_path = self.exp_logger.repo.index_path
AttributeError: 'Session' object has no attribute 'repo'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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