Coder Social home page Coder Social logo

Comments (6)

wangjiongw avatar wangjiongw commented on July 20, 2024

I met the same problem. And fortunately there is no missing files, but some naming errors.
You can find that the proposed model is exactly defined in 'oneshot/onemodel_sg-one.py'.
I solved it by modifying the name in 'oneshot/init' to the actual file name, e.g. 'onemodel_sg-one'.
Also, the arch input should also be changed.

from sg-one.

li-yanling avatar li-yanling commented on July 20, 2024

I met the same problem. And fortunately there is no missing files, but some naming errors.
You can find that the proposed model is exactly defined in 'oneshot/onemodel_sg-one.py'.
I solved it by modifying the name in 'oneshot/init' to the actual file name, e.g. 'onemodel_sg-one'.
Also, the arch input should also be changed.

Thanks. But after changing it to onemodel_sg-one, the new error name "onemodel_sg' is not defined comes out from train_frame.py line 62 model = eval(args.arch).OneModel(args). Did you meet the same error? Thank you.

from sg-one.

xiaomengyc avatar xiaomengyc commented on July 20, 2024

Sorry for the later response. @heyPooPy is right. Btw, I have updated the oneshot/init.py file. Thanks!

from sg-one.

zhao123ying avatar zhao123ying commented on July 20, 2024

I met the same problem. And fortunately there is no missing files, but some naming errors.
You can find that the proposed model is exactly defined in 'oneshot/onemodel_sg-one.py'.
I solved it by modifying the name in 'oneshot/init' to the actual file name, e.g. 'onemodel_sg-one'.
Also, the arch input should also be changed.

Thanks. But after changing it to onemodel_sg-one, the new error name "onemodel_sg' is not defined comes out from train_frame.py line 62 model = eval(args.arch).OneModel(args). Did you meet the same error? Thank you.

sorry,I have met same problem with you.Do you deal with it?

from sg-one.

al3ms avatar al3ms commented on July 20, 2024

onemodel_sg-one

Did you solve it?
I am facing the same problem.

from sg-one.

al3ms avatar al3ms commented on July 20, 2024

I get this error, anyone knows how to fix it?

Running parameters:

{
"arch":"onemodel_sg-one",
"max_steps":100001,
"lr":1e-05,
"disp_interval":100,
"save_interval":5000,
"snapshot_dir":"/content/drive/My Drive/sofa/SG-One/snapshots",
"resume":false,
"start_count":0,
"split":"train",
"group":1,
"num_folds":4
}
Traceback (most recent call last):
File "/content/drive/My Drive/sofa/SG-One/train_frame.py", line 159, in
train(args)
File "/content/drive/My Drive/sofa/SG-One/train_frame.py", line 90, in train
model, optimizer= get_model(args)
File "/content/drive/My Drive/sofa/SG-One/train_frame.py", line 62, in get_model
model = eval(args.arch).OneModel(args)
File "", line 1, in
NameError: name 'onemodel_sg' is not defined

from sg-one.

Related Issues (11)

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.