Giter Club home page Giter Club logo

Comments (6)

Baijiong-Lin avatar Baijiong-Lin commented on June 16, 2024

The environment we used is as follows:

  • Python == 3.8.3
  • torch ==1.8.1+cu111
  • torchvision == 0.9.1+cu111

and it can work.

The version of pip is not the same version published on github

Yes. The code on github is lastest. We will release the lastest version on PyPi soon.

from libmtl.

MJ-Zeng avatar MJ-Zeng commented on June 16, 2024

Thanks,I have a another question:
The framework's encoding and decoding must be used or can pass empty objects(like nn.nn.Module)

image

from libmtl.

Baijiong-Lin avatar Baijiong-Lin commented on June 16, 2024

Actually, I don't understand your question and I hope you can clarify it or give some examples. In fact, encoder_class here must be a class, not an instantiated object, but decoders is the opposite.

from libmtl.

MJ-Zeng avatar MJ-Zeng commented on June 16, 2024

Yes,I didn't express it very clearly
I wondered if it was possible not to use Encoder and decoders class
Because not all models have to be encoded and decoded

from libmtl.

Baijiong-Lin avatar Baijiong-Lin commented on June 16, 2024

encoder_class and decoders are used to define the network architecture of the model and they are necessary.

The meanings of encoder_class and decoders may be more general. For example, in the hard-parameter sharing pattern, encoder_class represents the task-sharing parameters (usually the feature extractor in cv problems), and decoders denotes the task-specific parameters (usually the output modules).

from libmtl.

Sakura4036 avatar Sakura4036 commented on June 16, 2024

In train.py, .next() can't run

I got a same error! -> "AttributeError: 'dict_keyiterator' object has no attribute 'next'"

This method has been deleted in python 3?
Why not use next(iter)?

or what should I do to fix it?

from libmtl.

Related Issues (20)

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.