Giter Club home page Giter Club logo

hyperspectral-reconstruction's Introduction

Indigo Minimalist Jekyll Template - Demo · Build Status

This is a simple and minimalist template for Jekyll for those who likes to eat noodles.


What has inside | Setup | Settings | How to

What has inside

Setup

  1. ⭐ to the project. 🤘
  2. Fork the project Indigo
  3. Edit _config.yml with your data (check settings section)
  4. Write some posts :bowtie:

If you want to test locally on your machine, do the following steps also:

  1. Install Jekyll, NodeJS and Bundler.
  2. Clone the forked repo on your machine
  3. Enter the cloned folder via terminal and run bundle install
  4. Then run bundle exec jekyll serve --config _config.yml,_config-dev.yml
  5. Open it in your browser: http://localhost:4000
  6. Do you want to use the jekyll-admin plugin to edit your posts? Go to the admin panel: http://localhost:4000/admin. The admin panel will not work on GitHub Pages, only locally.

Settings

You must fill some informations on _config.yml to customize your site.

name: John Doe
bio: 'A Man who travels the world eating noodles'
picture: 'assets/images/profile.jpg'
...

and lot of other options, like width, projects, pages, read-time, tags, related posts, animations, multiple-authors, etc.

How To?

Check the FAQ if you have any doubt or problem.


License

MIT License © Sérgio Kopplin

hyperspectral-reconstruction's People

Contributors

akashpalrecha 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

Watchers

 avatar  avatar

hyperspectral-reconstruction's Issues

[Pytorch+fastai]Code problem

 Hello, recently, I was fortunate enough to read your article _mxr-u-nets for real time hyperspectral reconstruction_. I am very interested in your research. At the same time, I also read the code you published. According to your code, I have studied, but encountered the following problems, I would like to ask you.

Here is my question:

  1. When I open the program file, I found that many packages were not imported. Here are some packages I imported.
    train.py:
    `from functools import partial
    from fastai.callback.tracker import SaveModelCallback from fastai.layers import NormType
    from fastai.vision.learner import unet_learner
    import torch.nn.functional as F
    from fastai.vision import models
    import sys

data.py:
import matplotlib.pyplot as plt
import torch.nn.functional as F
import sys
from fastcore.utils import ifnone
from pyparsing import Optional
from torchvision.models.detection.image_list import ImageList from traitlets import Tuple
from fastai.torch_core import tensor`

2.When I ran the train.py file, because I added the following statements, a new error occurred. Have you encountered it? Is there a solution?
from fastcore.utils import ifnone from pyparsing import Optional from torchvision.models.detection.image_list import ImageList from traitlets import Tuple
New error:
File "D:/github/PixxelAI/train.py", line 48, in
from data import *
File "D:\github\PixxelAI\data.py", line 73, in
class HSImageListTIFF(ImageList):
File "D:\github\PixxelAI\data.py", line 78, in HSImageListTIFF
def show_xys(self, xs, ys, imgsize:int=4, figsize:Optional[Tuple[int,int]]=None, **kwargs):
TypeError: 'type' object is not subscriptable

  1. utils.py:
    In this file, there are the following statements:
    from fastai.vision import Rank0Tensor from fastai.vision import flatten_check
    But when I was studying, an error message appeared, as shown below:
    File "D:/github/PixxelAI/utils.py", line 6, in
    from fastai.vision import Rank0Tensor
    ImportError: cannot import name 'Rank0Tensor' from 'fastai.vision'

File "D:/github/PixxelAI/utils.py", line 7, in
from fastai.vision import flatten_check
ImportError: cannot import name 'flatten_check' from 'fastai.vision'
I made changes, I don’t know if it’s possible, as shown below:
from fastai.torch_core import Tensor from fastai.layers import flatten_check
4. feature.py:
In this file, there are the following statements:
from fastai.torch_core import requires_grad, children from fastai.callbacks.hooks import hook_outputs

But when I was studying, an error message appeared, as shown below:
from fastai.torch_core import requires_grad, children
ImportError: cannot import name'children' from'fastai.torch_core'

from fastai.torch_core import requires_grad, children
ImportError: cannot import name'children' from'fastai.torch_core'
Have you encountered such a problem, and how did you correct it?

Now, it's hard for me to solve these problems. Looking forward to your answers.

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.