Giter Club home page Giter Club logo

deeplearning-cats-dogs-tutorial's Introduction

deeplearning-cats-dogs-tutorial's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deeplearning-cats-dogs-tutorial's Issues

ami not available

the ami you included in your tutorial is not available when i searched for it : "Please note, that the AMI recommended in the guide is no longer available. I prepared a new AMI (ami-64d31209) with all the necessary software installed."

^[[3~F0426 01:32:18.032650 32058 db_lmdb.hpp:15] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory

liuxiao@liuxiao-ThinkStation-D30:/$ /home/liuxiao/fangxu/caffe/build/tools/compute_image_mean -backend=lmdb /home/liuxiao/fangxu/deeplearning-cats-dogs-tutorial/input/train_lmdb /home/liuxiao/fangxu/deeplearning-cats-dogs-tutorial/input/mean.binaryproto
F0426 01:36:32.813380 32339 db_lmdb.hpp:15] Check failed: mdb_status == 0 (2 vs. 0) No such file or directory
*** Check failure stack trace: ***
@ 0x7fbf098ebdaa (unknown)
@ 0x7fbf098ebce4 (unknown)
@ 0x7fbf098eb6e6 (unknown)
@ 0x7fbf098ee687 (unknown)
@ 0x7fbf09db8111 caffe::db::LMDB::Open()
@ 0x40209e main
@ 0x7fbf088f7f45 (unknown)
@ 0x402ada (unknown)
@ (nil) (unknown)
已放弃 (核心已转储)

no directory train_lmdb

I get the following error

Creating train_lmdb
Traceback (most recent call last):
File "create_lmdb.py", line 64, in
in_db = lmdb.open(train_lmdb, map_size=int(1e12))
FileNotFoundError: [Errno 2] No such file or directory: '~/project/tp/deeplearning-cats-dogs-tutorial/input/train_lmdb'

GoogLeNet

Can you tell me how to use googlenet to achieve cat and dog classification?

problem to plot the learning curve

I'm trying to execute "plot_learning_curve.py"
to plot the learning curve but it gives me this error message

AttributeError: 'Series' object has no attribute 'find'

Could you please help me?

terminate called after throwing an instance of 'std: :bad_alloc' what(): std: :bad_alloc Aborted

I am new to this framework. I am able to Data preparation step by creating the lmdb files. While generating image mean, received below error. Please help

/opt/caffe/bin/compute_image_mean -backend=lmdb /home/pduraisamy/test/Deeplearning-cats-dogs-tutorial/input/train_lmdb /home/pduraisamy/test/Deeplearning-cats-dogs-tutorial/input/mean.binaryproto

terminate called after throwing an instance of 'std: :bad_alloc'
what(): std: :bad_alloc
Aborted

What am I doing wrong here? thanks for your help

validation_lmdb and train_lmdb have the same content?

in file code/create_lmdb.py
line 85: for in_idx, img_path in enumerate(train_data):
line 66: for in_idx, img_path in enumerate(train_data):

So, what's the difference between validation_lmdb and train_lmdb?
If they have the same content, what's the point of creating two same lmdb files?
Am I missing something?

What more, thank you for your tutorial!

adilmoujahid / deeplearning-cats-dogs-tutorial issue

run the following command
/home/habib/deeplearning-cats-dogs-tutorial/input/mean.binaryproto
get this error
bash: /home/habib/deeplearning-cats-dogs-tutorial/input/mean.binaryproto: No such file or directory

please guide

I want to run this code on the CPU only version of caffe on my computer. which parts of the Create_lmdb file would be different??

I am trying to get familiar with python and caffe and tried to run this code on my computer, there are a few problems and I wanted to know that I should change which parts of the code?

like when I get to this part of the code:

"in_db = lmdb.open(train_lmdb, map_size=int(1e12))
with in_db.begin(write=True) as in_txn:
for in_idx, img_path in enumerate(train_data):
if in_idx % 6 == 0:
continue
img = cv2.imread(img_path, cv2.IMREAD_COLOR)
img = transform_img(img, img_width=IMAGE_WIDTH, img_height=IMAGE_HEIGHT)
if 'cat' in img_path:
label = 0
else:
label = 1
datum = make_datum(img, label)
in_txn.put('{:0>5d}'.format(in_idx), datum.SerializeToString())
print '{:0>5d}'.format(in_idx) + ':' + img_path
in_db.close()"**

I receive this error:

"Traceback (most recent call last):
File "/home/behnam/.local/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2878, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
in_db = lmdb.open(train_lmdb, map_size=int(1e12))
OSError: [Errno 2] No such file or directory: '/home/ubuntu/deeplearning-cats-dogs-tutorial/input/train_lmdb' "

I'm using Pycharm and python 2.7 on ubuntu.

I tried to change the path of "train_lmdb" but it doesn't work.
I do not see the Train_lmdb file in the mentioned directory, what can I do? where is this file?

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.