Giter VIP home page Giter VIP logo

image_tabular's Introduction

Hi ๐Ÿ‘‹, I'm Yuan Tian

AI | Machine Learning | Deep Learning | Data Science | Bioinformatics | Computational Biology
Transforming data into insights. ๐Ÿ’ป๐Ÿ“Š๐Ÿงฌ

Connect with me:

ytiancompbio ytiancompbio @yuan_tian ytiancompbio ytiancompbio

Languages and Tools:

aws docker gcp git linux mysql pandas python pytorch scikit_learn seaborn

image_tabular's People

Contributors

naity 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

image_tabular's Issues

Forward reference inside image_tabular?

Using Python 3.8.3, fastai v2.1.10, and image_tabular v0.0.6 on Windows 10:

The following imports return an error:

import fastai
import image_tabular
from fastai.vision import *
from fastai.tabular import *
from image_tabular.core import *

The error is:

Traceback (most recent call last):

  File "<ipython-input-6-3fb4e005a29c>", line 7, in <module>
    from image_tabular.core import *

  File "C:\Users\username\Anaconda3\envs\fastai_env\lib\site-packages\image_tabular\core.py", line 19, in <module>
    def _normalize_batch_image_tab(b:Tuple[Tensor,Tensor],

NameError: name 'Tuple' is not defined

After review, it seems like this may be a forward reference issue. I tried adding from __future__ import annotations above import fastai because my python version is >3.7, but I still get the same error.

Similarly, from image_tabular.dataset import * yields NameError: name 'Dataset' is not defined,
from image_tabular.model import * returns NameError: name 'Module' is not defined, and
from image_tabular.metric import * returns NameError: name 'Tensor' is not defined.

Any advice on how I may fix these issues and use this neat looking tool?

Thanks!

NameError in imports

I was trying to use the image_tabular package in the Kaggle kernel but while importing the libraries I received this error :

image

try with mutliclass

i was tried using multiclass and got some error

find learning rate to train the last layer group first

fucntion when error :
learn.freeze()
learn.lr_find()
learn.recorder.plot()

error message : can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.

i search in stackoverflow too but still got error , i read some link and its said , cause i use multiclass , and your example in binary

what should i do ?

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.