Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in frontend.py #517

Closed
zafercavdar opened this issue Jun 16, 2021 · 2 comments
Closed

Typo in frontend.py #517

zafercavdar opened this issue Jun 16, 2021 · 2 comments

Comments

@zafercavdar
Copy link

    @property
    def avaliable_models(self):
        return model_map.keys()

avaliable should be available

@AlongWY
Copy link
Contributor

AlongWY commented Jun 21, 2021

thanks! i will fix it.

AlongWY added a commit that referenced this issue Jun 21, 2021
@ilovetlic
Copy link

同样地在 frontend.py 51行及其它装饰器使用处

def no_gard(func):
    def wrapper(*args, **kwargs):
        with torch.no_grad():
            return func(*args, **kwargs)

    return wrapper

no_gard -> no_grad

AlongWY added a commit that referenced this issue Jun 28, 2021
@AlongWY AlongWY closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants