Giter Site home page Giter Site logo

oucml's Issues

赞赞赞

哈哈哈,写的非常好啊!我 FORK 啦~~~

超链接错误

Dive-into-DL-PyTorch.pdf

pdf中出现了大量的超链接错误
比如:
超出范围
多个连接只有一个有效
image

Undefined name 'DictAsMember' in config.py

flake8 testing of https://github.com/OUCMachineLearning/OUCML on Python 3.7.1

$ flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics

./GAN/人脸还原SCFEGAN/utils/config.py:23:21: F821 undefined name 'DictAsMember'
            value = DictAsMember(value)
                    ^
1     F821 undefined name 'DictAsMember'
1

E901,E999,F821,F822,F823 are the "showstopper" flake8 issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.

  • F821: undefined name name
  • F822: undefined name name in __all__
  • F823: local variable name referenced before assignment
  • E901: SyntaxError or IndentationError
  • E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree

关于测试

您好,关于SRGAN方面
是否有测试板块

3.3.4 TypeError: 'LinearNet' object is not subscriptable

Hi,
thanks for the hard work!

I am trying this part but it gives me error:


TypeError Traceback (most recent call last)
in
----> 1 init.normal_(net[0].weight, mean=0, std=0.01)
2 init.constant_(net[0].bias, val=0)

TypeError: 'LinearNet' object is not subscriptable

this is the linearnet:

class LinearNet(nn.Module):
def init(self, n_feature):
super(LinearNet, self).init()
self.linear = nn.Linear(n_feature, 1)

def forward(self, x):
    y = self.linear(x)
    return y

net = LinearNet(num_inputs)
print(net)

my Torch version is 1.5.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.