Skip to content

Source code for Neural Information Processing Systems (NeurIPS) 2018 paper "Multi-Task Learning as Multi-Objective Optimization"

License

Notifications You must be signed in to change notification settings

lihenglin/MultiObjectiveOptimization

 
 

Repository files navigation

How Does Parameter Sharing Affect Multi-task Learning?

This code repository includes the source code for the CS330 Final Project Fall 2022 by

Li-Heng Lin| Tz-Wei Mo| Annie Ho|

This repo includes modification to the Multi-LeNet network to include FiLM layers. Multi-VGG is also added to further investigate the effects of FiLM layers by adding task specific batch normalization. CIFAR-10/SVHN dataset is also combined for a new experiment setup for Multi-VGG.

Code for adding FiLM layers in ResNet is also included.

Requirements and References

The code uses the following Python packages and they are required: tensorboardX, pytorch, click, numpy, torchvision, tqdm, scipy, Pillow, imageio

We adapt and use some code snippets from:

Usage

The code base uses configs.json for the global configurations like dataset directories, etc.. Experiment specific parameters are provided seperately as a json file. See the sample.json for an example.

To train a model, use the command:

python multi_task/train_multi_task_scalarization.py --param_file=./sample.json

About

Source code for Neural Information Processing Systems (NeurIPS) 2018 paper "Multi-Task Learning as Multi-Objective Optimization"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%