"Doc/Tutorial_Python.md" did not exist on "816b3d5203b7d69f4cf1d457c78a82a4b69798ea"
Commit 1a099e5e authored by anton-l's avatar anton-l
Browse files

make einops optional for RL

parent b09b152f
......@@ -5,8 +5,12 @@ import math
import torch
import torch.nn as nn
import einops
from einops.layers.torch import Rearrange
try:
import einops
from einops.layers.torch import Rearrange
except:
print("Einops is not installed")
pass
from ..configuration_utils import ConfigMixin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment