Skip to content

Tensorflow crashes #2

@ronias

Description

@ronias

Thanks for the previous reply about where to locate the T1w files.

I managed to get the files and run the code, but when the python code (in the file orig_mod_NNEval.py) is executed, it crashes at line 130:
b = sess.run(pred,feed_dict={X:mri}

When this line is exectued it just give the following warnings:
2023-09-18 01:44:09.620351: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 805306368 exceeds 10% of free system memory.
2023-09-18 01:44:16.856842: W tensorflow/core/framework/cpu_allocator_impl.cc:82] Allocation of 805306368 exceeds 10% of free system memory.

The 805306368 bytes in the warning equals to just 0.8GB of memory and I have 8GB of memory in my machine.

After one minute the program process ends with no error, I even wrapped it in a try-except (like try-catch) and added a print, but it doesnt get into the execpt part.

I'm using tensor flow cpu mode.
Dou you have any idea what can cause it?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions