Giter Club home page Giter Club logo

Comments (4)

moberweger avatar moberweger commented on July 21, 2024

@weiguochow
The error looks like there is something wrong with the annotation file. I can open the mat file with scipy 0.13.3 . Did you try opening the mat file with ipython or similar?

from deep-prior-pp.

weiguochow avatar weiguochow commented on July 21, 2024

@moberweger
Thank you for your guide, I have fixed the problem. Then I want to rerun the code, for I used tensorflow as the framework, that I am not very familiar with the Theano. Can you give me some advice on the following error?
regards
weiguo

Save cache data to ./cache//MSRA15Importer_P7_None_gt_160_cache.pkl
Shuffling
Loading P8100%|#############################################################################################################################################################################################|
Loaded 8492 samples.
Save cache data to ./cache//MSRA15Importer_P8_None_gt_150_cache.pkl
Shuffling
training: P1 P2 P3 P4 P5 P6 P7 P8
testing: P0
data size: 4242Mb
1.07752 0.938656 -1.03945 -0.991144
1.0 1.0 -1.0 -1.0
create network
setup trainer
Train size: 4242.25MB, Memory available: 925.2MB, sample size: 0.0625MB, aligned memory: 920.0MB
67876 train samples, 8499 val samples, batch size 128
5 macro batches, 115 mini batches per macro, 531 full mini batches total
1 data chunks, 67876 train samples total
Loading 5 macro batches a 920.0MB
Loading 5 macro batches a 920.0MB
Loading 5 macro batches a 920.0MB
Loading 5 macro batches a 920.0MB
compiling train_model() ...
Traceback (most recent call last):
File "main_msra15_posereg_embedding_crossval.py", line 155, in
poseNetTrainer.compileFunctions(compileDebugFcts=False)

TypeError: Cannot convert Type TensorType(float32, 4D) (of Variable Subtensor{int64:int64:}.0) into Type TensorType(float64, 4D). You can try to manually convert Subtensor{int64:int64:}.0 into a TensorType(float64, 4D).

from deep-prior-pp.

moberweger avatar moberweger commented on July 21, 2024

In theano this is a common problem. The reason is, that the floating point precision does not match the device. In order to solve that problem, you have to run the program like
THEANO_FLAGS=device=gpu,floatX=float32

from deep-prior-pp.

WeihongM avatar WeihongM commented on July 21, 2024

@weiguochow I also met your first error above, can you share how you solved the problem? Hope for your help !

from deep-prior-pp.

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.