-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from kywch/isaacgym
Kyoung's isaac fixes
- Loading branch information
Showing
13 changed files
with
487 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
from .environment import env_creator | ||
|
||
# try: | ||
# import torch | ||
# except ImportError: | ||
# pass | ||
# else: | ||
# from .torch import Policy | ||
# try: | ||
# from .torch import Recurrent | ||
# except: | ||
# Recurrent = None | ||
|
||
try: | ||
import torch | ||
import pufferlib.environments.morph.policy as torch | ||
except ImportError: | ||
pass | ||
else: | ||
from .torch import Policy | ||
from .policy import Policy | ||
try: | ||
from .torch import Recurrent | ||
from .policy import Recurrent | ||
except: | ||
Recurrent = None | ||
Recurrent = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.