Giter Club home page Giter Club logo

cosmiq_sn6_baseline's People

Contributors

dphogan avatar jshermeyer avatar nmoran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cosmiq_sn6_baseline's Issues

Training with 3 channels images

The current solution forces the use of 4 channels images. Trying to use 3 channel images I have the following error even having specified in the YAML configuration image type = 24 bit and channels = 3

Traceback (most recent call last):
  File "./baseline.py", line 883, in <module>
    train(args)
  File "./baseline.py", line 599, in train
    trainer.train()
  File "/opt/conda/envs/solaris/lib/python3.7/site-packages/solaris/nets/train.py", line 139, in train
    output = self.model(data)
  File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/root/model.py", line 95, in forward
    conv1 = self.relu(self.conv1(x))
  File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 345, in forward
    return self.conv2d_forward(input, self.weight)
  File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
    self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 64 4 3 3, expected input[8, 3, 512, 512] to have 4 channels, but got 3 channels instead

Dockerfile not working

When trying to build a docker image from the root folder with

docker build .

Fails with the following messages

Executing transaction: failed                                                                                           
ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::affine-2.3.0-py_0'.
FileNotFoundError(2, "No such file or directory: '/opt/conda/envs/solaris/bin/python3.6'")
Attempting to roll back.

Rolling back transaction: done

FileNotFoundError(2, "No such file or directory: '/opt/conda/envs/solaris/bin/python3.6'")

Appears that it is attempting to install the affine package before installing the python interpreter itself. Have found a work around which involves first creating the environment with

conda create -n solaris python=3.6.7

And then installing the packages

conda install --file environment-gpu.txt

Where envrionment-gpu.txt is a flat list of the packages from the environment-gpu.yml file without the channel information or other structural elements.

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.