Giter VIP home page Giter VIP logo

Comments (7)

aliericcantona avatar aliericcantona commented on July 28, 2024

Another attempt, I installed tensorflow-gpu 1.6.0 for CUDA library 8.0 but still running python inference.py --img-path=./input/outdoor_1.png --dataset=ade20k --filter-scale=2 --model=others

generates "no checkpoint file found" and the results are not he same as the one stated here.

from icnet-tensorflow.

hellochick avatar hellochick commented on July 28, 2024

Hey @aliericcantona, it seems that the checkpoint is missing, so you cannot load the pre-trained weights. You can refer to #45.

from icnet-tensorflow.

srcolinas avatar srcolinas commented on July 28, 2024

change checkpoints.txt to checkpoints

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

thanks it works. Actually checkpoint.txt --> checkpoint

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

the results are not exactly the same as the one you posted just slightly different (may be because of the slightly trained model difference). The color model (labels) are exactly the same as PSPNET ADE20K or different?

from icnet-tensorflow.

hellochick avatar hellochick commented on July 28, 2024

@aliericcantona, I have updated the model but the output results not, so the results would be a little different.

from icnet-tensorflow.

wangchuanya avatar wangchuanya commented on July 28, 2024

If you want to apply to other datasets, change following four lines

IGNORE_LABEL = 255 # The class number of background
INPUT_SIZE = '720, 720' # Input size for training

BATCH_SIZE = 16
LEARNING_RATE = 1e-3
MOMENTUM = 0.9
NUM_CLASSES = 19
NUM_STEPS = 60001
POWER = 0.9
RANDOM_SEED = 1234
WEIGHT_DECAY = 0.0001
PRETRAINED_MODEL =
SNAPSHOT_DIR = './snapshots/'
SAVE_NUM_IMAGES = 4
SAVE_PRED_EVERY = 50

these codes in train.py,in model file has ade20k weights,but failed to train, PRETRAINED_MODEL how to load ,PRETRAINED_MODEL = ?

from icnet-tensorflow.

Related Issues (20)

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.