metadl icon indicating copy to clipboard operation
metadl copied to clipboard

Use other libs

Open ductm104 opened this issue 4 years ago • 4 comments

Hi, I see that your requirements.txt file only contains tensorflow based libraries.

How can I use other libs like pytorch?

Can you provide an example to use torch instead of tf. I just checked maml_torch but it doesn't work.

ductm104 avatar Aug 19 '21 08:08 ductm104

Hello! The requirements has been updated and now has the higher (second order optimization library required by maml_torch). The maml_torch baseline should now work with the conda environment. Everything you need to know to use torch models instead of TF is inside this baseline. More specifically, you only need to implement the torch data wrapper in order to use any torch models you want.
Let me know how it goes!

ebadrian avatar Aug 21 '21 19:08 ebadrian

Hi @ebadrian ,

I have another question about how to get exactly the total number of meta class in meta training phase.

ductm104 avatar Aug 31 '21 05:08 ductm104

Hi! We plan to release this feature soon, I'll keep you updated.

ebadrian avatar Sep 02 '21 10:09 ebadrian

Hi @ebadrian , are there any updates on this problem? Because I cannot use 'batch' mode with CE Loss if total_meta_class is not known.

ductm104 avatar Sep 17 '21 07:09 ductm104