Giter VIP home page Giter VIP logo

Comments (2)

mansimov avatar mansimov commented on July 26, 2024

you should be calling this instead
python coco/alignDraw.py coco/models/coco-captions-32x32.json

you weren't using the right json file since, mnist-captions is a different dataset.
also make sure to download the files i listed in readme

from text2image.

SeekPoint avatar SeekPoint commented on July 26, 2024

envy@ub1404:~/os_pri/github/text2image$ python mnist-captions/alignDraw.py mnist-captions/models/mnist-captions.json
Using gpu device 0: GeForce GTX 950M (CNMeM is disabled, CuDNN 4007)
(50000, 784) (50000,) (10000, 784) (10000,)
Banned configurations are :
[6, 6, 9, 5, 9, 2, 3, 10, 7, 8, 1, 1]
Train Dataset
(10000, 3600) (10000, 12) [1176, 1197, 1165, 1251, 1288, 1299, 1289, 1335]
mnist-captions/alignDraw.py:337: FutureWarning: comparison to None will result in an elementwise object comparison in the future.
if valData != None:
Val Dataset
(10000, 3600) (10000, 12) [1132, 1190, 1183, 1357, 1317, 1345, 1258, 1218]
building gradient function
0:00:13.547572
building train function
0:10:04.190429
Epoch 0 took 0:14:27.302321
Train Results
20.4986621122 980.411366577 1000.91003357
Validation Results
building validate function
0:00:31.926712
20.8608053589 1749.13969482 1770.00049316

Recreated Train Dataset
[1195, 1137, 1165, 1274, 1326, 1350, 1263, 1290]

[ub1404:04315] *** Process received signal ***
[ub1404:04315] Signal: Bus error (7)
[ub1404:04315] Signal code: Non-existant physical address (2)
[ub1404:04315] Failing at address: 0x7feb03f41d40

from text2image.

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.