Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoder and decoder as model parameters #98

Merged
merged 29 commits into from
Apr 4, 2024
Merged

Conversation

BerndDoser
Copy link
Member

Allows control in config file without coding.

Example: Resnet-50

model:
  class_path: models.RotationalVariationalAutoencoderPower
  init_args:
    encoder:
      class_path: torchvision.models.ResNet
      init_args:
        block: torchvision.models.resnet.BasicBlock
        layers: [3, 4, 6, 3] # ResNet-50
        num_classes: 256
    decoder:
      class_path: models.ConvolutionalDecoder
    h_dim: 256
    z_dim: 3
    image_size: 91
    rotations: 36
    beta: 1.0e-3

Set input_size as argument
Test visual transformer
…iprocessing join

- Serial execution of create_hips_tile using a single worker
- Hipster pytest is using single worker, which is a workaround for HITS-AIN#93
- Use plain python multiprocessing library instead of torch version
  - Updating nvidia-nvjitlink-cu12 (12.4.99 -> 12.4.127)
  - Updating matplotlib (3.8.3 -> 3.8.4)
  - Updating wandb (0.16.5 -> 0.16.6)
@BerndDoser BerndDoser merged commit 5707b38 into HITS-AIN:main Apr 4, 2024
4 checks passed
@BerndDoser BerndDoser deleted the resnet branch April 4, 2024 08:03
@BerndDoser BerndDoser mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant