Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] autocolorize model #12

Closed
wants to merge 7 commits into from
Closed

Conversation

kashif
Copy link

@kashif kashif commented Sep 17, 2016

I am slowly converting the caffe autocolorize model to keras in the PR.

Some references:

@kashif kashif changed the title [WIP[autoclorize model [WIP] autoclorize model Sep 17, 2016
@kashif kashif changed the title [WIP] autoclorize model [WIP] autocolorize model Sep 17, 2016
@fchollet
Copy link
Owner

fchollet commented Oct 1, 2016

I think it great, do you have any update on this? What's the status?

@kashif
Copy link
Author

kashif commented Oct 1, 2016

thanks @fchollet currently I am stuck at translating the reshape layer from caffe to keras. I also cannot read in the original layer into caffe, due to some dim mis-match... which making it hard for me to debug and check things...

I would appreciate some help here, I was going to ask on gitter...

@fchollet
Copy link
Owner

fchollet commented Oct 1, 2016

Do post on Gitter, someone who is familiar with Caffe and Caffe conversion may be able to help out.

@fchollet
Copy link
Owner

@kashif please let me know when you think you are done.

@kashif
Copy link
Author

kashif commented Oct 15, 2016

@fchollet will do. Current issues with theano version:

  • create weights from caffe weights
  • TimeDistributed deconvolution also needs a padding (only for GPU device)
  • Figure out a "better" way of doing deconvolution with padding?
  • A layer giving error:
    ValueError: GpuReshape: cannot reshape input of shape (4096, 1, 2, 2) to shape (0, 4096, 120, 120). Apply node that caused the error: GpuReshape{4}(GpuElemwise{Add}[(0, 0)].0, TensorConstant{[ -1 4096.. 120 120]}) Toposort index: 516 Inputs types: [CudaNdarrayType(float32, 4D), TensorType(int64, vector)] Inputs shapes: [(4096, 1, 2, 2), (4,)] Inputs strides: [(14400, 0, 120, 1), (8,)] Inputs values: ['not shown', array([ -1, 4096, 120, 120])] Outputs clients: [[GpuIncSubtensor{InplaceSet;::, ::, int64:int64:, int64:int64:}(GpuAlloc{memset_0=True}.0, GpuReshape{4}.0, Constant{4}, Constant{124}, Constant{4}, Constant{124})]]

TensorFlow version:

  • recreate weights for TF
  • test on TF

@kashif kashif closed this Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants