jy0205 / LaVIT

LaVIT: Empower the Large Language Model to Understand and Generate Visual Content
Other
438 stars 22 forks source link

Finding a BUG in modeling_visual_encoder.py #32

Open kabutohui opened 1 week ago

kabutohui commented 1 week ago

I found a bug in modeling_visual_encoder.py line 572:

# norm_layer = LayerNorm
norm_layer = nn.LayerNorm

LayerNorm is not define, which should be changed to nn.LayerNorm.

jy0205 commented 1 week ago

Thanks for your kind reminder! We have fixed this.