-
Notifications
You must be signed in to change notification settings - Fork 20
Description
@nejyeah
Whenever I am doing step 1
python autoPick.py --inputDir '/home/vidya/Desktop/Deeppicker' --pre_trained_model './trained_model/model_demo_type3' --particle_size 50 --mrc_number -1 --outputDir '../autopick-results-by-demo-type3' --coordinate_symbol '_cnnPick' --threshold 0.5
(I have mrc file of 55 mb)
This is the error erupting:
I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-03-01 16:51:41.825040: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:964] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2019-03-01 16:51:41.825609: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce 930MX major: 5 minor: 0 memoryClockRate(GHz): 1.0195
pciBusID: 0000:01:00.0
totalMemory: 1.96GiB freeMemory: 1.70GiB
2019-03-01 16:51:41.825627: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-03-01 16:51:42.466682: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-03-01 16:51:42.466722: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0
2019-03-01 16:51:42.466731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N
2019-03-01 16:51:42.466896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 1453 MB memory) -> physical GPU (device: 0, name: GeForce 930MX, pci bus id: 0000:01:00.0, compute capability: 5.0)
/home/vidya/Desktop/Deeppicker/mrc1.mrc
Traceback (most recent call last):
File "autoPick.py", line 101, in
main()
File "autoPick.py", line 98, in main
pick_particle()
File "autoPick.py", line 87, in pick_particle
coordinate = autopicker.pick(mrc_file_all[i])
File "/home/vidya/Desktop/Deeppicker/autoPicker.py", line 134, in pick
header, body = DataLoader.readMrcFile(mrc_filename)
File "/home/vidya/Desktop/Deeppicker/dataLoader.py", line 227, in readMrcFile
header = struct.unpack(header_fmt,data[0:1024])
struct.error: unpack requires a string argument of length 1024
Please can you help me with the issue ? Thank you in advance !!!!