mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-09-09 11:25:10 +08:00
Change demo file compatible to python2 (#40)
* Change demo file to python2 compatible * Add object to classes for compatibility with python2
This commit is contained in:
@@ -14,7 +14,7 @@ import numpy as np
|
||||
import torch
|
||||
|
||||
|
||||
class AbstractAgent:
|
||||
class AbstractAgent(object):
|
||||
"""Abstract Agent used for all agents.
|
||||
|
||||
Attributes:
|
||||
|
||||
Reference in New Issue
Block a user