mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-10-30 13:20:08 +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:
1 parent
a130293f8b
commit
16ae4375c9
6 files changed
+6
-6
No files matched your search
@@ -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