Code Monkey home page Code Monkey logo

Comments (3)

zccoder avatar zccoder commented on June 12, 2024 2

I find the answer. It is just the difference of keras. I used keras by fchollet. However this project is using farizrahman4u/keras-contrib. At last, I just go to this url:

https://github.com/farizrahman4u/keras-contrib/blob/master/keras_contrib/backend/tensorflow_backend.py

And copy _postprocess_conv2d_output and _preprocess_conv2d_input on my own. That is OK now!

from densenet.

titu1994 avatar titu1994 commented on June 12, 2024

Sorry for the delay. Got caught up in midsems. This should be fixed properly now for the Tensorflow backend

from densenet.

Chunluting avatar Chunluting commented on June 12, 2024

The enviroment that I run was:
tensoflow 1.10.0
keras 2.2.2

The problem occurred while I ran python train_coco.py:

Traceback (most recent call last):
File "train_coco.py", line 15, in
from models import *
File "/home/chun/src/Keras-FCN/models.py", line 6, in
from keras_contrib.applications import densenet
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/init.py", line 2, in
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/backend/init.py", line 14, in
File "/home/chun/CHUN/anaconda3/envs/KFCN/lib/python3.6/site-packages/keras_contrib-1.2.1-py3.6.egg/keras_contrib/backend/tensorflow_backend.py", line 10, in
ImportError: cannot import name '_postprocess_conv3d_output'

from densenet.

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.