Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
YeonwooSung committed Apr 23, 2021
1 parent d6c7581 commit f94a1d2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ An implementation of Geoffrey Hinton's paper "How to represent part-whole hierar

```python
import torch
from glom_pytorch import Glom
from pyglom import GLOM

model = Glom(
model = GLOM(
dim = 512, # dimension
levels = 6, # number of levels
image_size = 224, # image size
Expand All @@ -29,9 +29,9 @@ It also gives you access to all the level data across iterations for clustering,

```python
import torch
from glom_pytorch import Glom
from pyglom import GLOM

model = Glom(
model = GLOM(
dim = 512, # dimension
levels = 6, # number of levels
image_size = 224, # image size
Expand All @@ -53,9 +53,9 @@ import torch.nn.functional as F
from torch import nn
from einops.layers.torch import Rearrange

from glom_pytorch import Glom
from pyglom import GLOM

model = Glom(
model = GLOM(
dim = 512, # dimension
levels = 6, # number of levels
image_size = 224, # image size
Expand Down Expand Up @@ -85,9 +85,9 @@ You can pass in the state of the column and levels back into the model to contin

```python
import torch
from glom_pytorch import Glom
from pyglom import GLOM

model = Glom(
model = GLOM(
dim = 512,
levels = 6,
image_size = 224,
Expand Down

0 comments on commit f94a1d2

Please sign in to comment.