Skip to content

code problem #1

@ch11en

Description

@ch11en

Traceback (most recent call last):
File "/ssd-data1/cxf2022/main_correct.py", line 449, in
test()
File "/ssd-data1/cxf2022/main_correct.py", line 427, in test
model = VisionMamba(
File "/ssd-data1/cxf2022/main_correct.py", line 234, in init
[
File "/ssd-data1/cxf2022/main_correct.py", line 235, in
create_block(
File "/ssd-data1/cxf2022/main_correct.py", line 135, in create_block
norm_cls=partial(nn.LayerNorm if not rms_norm else RMSNorm,eps=norm_epsilon,**factory_kwargs) #eps用于避免归一化过程中分母为0的情况
TypeError: the first argument must be callable

Process finished with exit code 1

请问这怎么解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions