GithubHelp home page GithubHelp logo

About error in concat about sam HOT 5 CLOSED

marcellacornia avatar marcellacornia commented on May 26, 2024
About error in concat

from sam.

Comments (5)

marcellacornia avatar marcellacornia commented on May 26, 2024

Hi @jackyhkust,
thanks for downloading our code.

Have you checked the keras.json file? It should be in the following format:
{ "image_dim_ordering": "th", "epsilon": 1e-07, "floatx": "float32", "backend": "theano" }

from sam.

back-kh avatar back-kh commented on May 26, 2024

hello @marcellacornia
I have similar issue but when i changed "image_dim_ordering": "th" in keras.json follow this :
{
"floatx": "float32",
"epsilon": 1e-07,
"backend": "theano",
"image_data_format": "channels_last",
"image_dim_ordering": "th"
}
i got this error :
Using Theano backend.
/home/nimol/venv3/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'ds' parameter is not going to exist anymore as it is going to be replaced by the parameter 'ws'.
mode='max')
/home/nimol/venv3/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'st' parameter is not going to exist anymore as it is going to be replaced by the parameter 'stride'.
mode='max')
/home/nimol/venv3/lib/python3.6/site-packages/keras/backend/theano_backend.py:1282: UserWarning: DEPRECATION: the 'padding' parameter is not going to exist anymore as it is going to be replaced by the parameter 'pad'.
mode='max')
Compiling SAM-ResNet
Traceback (most recent call last):
File "main.py", line 119, in
raise NotImplementedError
NotImplementedError

My keras : 1.1.0 and theano 0.9

i am waiting your help .Thank you

from sam.

marcellacornia avatar marcellacornia commented on May 26, 2024

Hi @Thuonnimol,
thanks for downloading our code.

First, you have to remove "image_data_format": "channels_last" from your keras.json file.

The NotImplementedError is probably due to a wrong parameter when running the code. For testing, the correct format is: python main.py test path/to/images/folder/ where path/to/images/folder/ is the path of a folder containing the images for which you want to calculate the saliency maps.

from sam.

back-kh avatar back-kh commented on May 26, 2024

hello @marcellacornia thank you for your answer .
Now,i will try

from sam.

back-kh avatar back-kh commented on May 26, 2024

Hello @marcellacornia now it's working ,thank you

from sam.

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.