Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: cannot concatenate 'str' and 'NoneType' objects #104

Open
Malathi15 opened this issue Apr 4, 2019 · 0 comments
Open

TypeError: cannot concatenate 'str' and 'NoneType' objects #104

Malathi15 opened this issue Apr 4, 2019 · 0 comments

Comments

@Malathi15
Copy link

Malathi15 commented Apr 4, 2019

After the training I tried to run Random_clip_valid.py I got this error

2019-04-04 10:31:57.009582: 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-04-04 10:31:57.097067: 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-04-04 10:31:57.097460: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties: 
name: GeForce GTX 1080 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.582
pciBusID: 0000:01:00.0
totalMemory: 10.91GiB freeMemory: 10.36GiB
2019-04-04 10:31:57.097489: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-04-04 10:31:57.281719: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-04 10:31:57.281761: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0 
2019-04-04 10:31:57.281766: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N 
2019-04-04 10:31:57.281951: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10053 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
('total_para:', 78409573)
Traceback (most recent call last):
  File "Random_clip_valid.py", line 197, in <module>
    modelpath="models")
  File "Random_clip_valid.py", line 163, in test
    saver.restore(sess, modelpath + tf.train.latest_checkpoint("c3d_ucf_model-4999"))
TypeError: cannot concatenate 'str' and 'NoneType' objects

can you help me to slove this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant