Traceback (most recent call last):



 "<ipython-input-1-f61f204334df>", line 1, in <module>

runfile('D:/dr misamrezai/rosetta/Rosetta-3.0beta/Rosetta-3.0beta/Rpredict.py', wdir='D:/dr misamrezai/rosetta/Rosetta-3.0beta/Rosetta-3.0beta')



 "C:\Users\mrezaei\AppData\Local\Continuum\anaconda2\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile

execfile(filename, namespace)



 "C:\Users\mrezaei\AppData\Local\Continuum\anaconda2\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 95, in execfile

exec(compile(scripttext, filename, 'exec'), glob, loc)



 "D:/dr misamrezai/rosetta/Rosetta-3.0beta/Rosetta-3.0beta/Rpredict.py", line 23, in <module>

data_in = N.genfromtxt (args.input, dtype=N.float).transpose()



 "C:\Users\mrezaei\AppData\Local\Continuum\anaconda2\lib\site-packages\numpy\lib\npyio.py", line 1751, in genfromtxt

"or generator. Got %s instead." % type(fname))

TypeError: fname must be a string, filehandle, list of strings, or generator. Got <type 'NoneType'> instead.

Traceback (most recent call last):


 "test.py", line 67, in <module>

main()


 "test.py", line 63, in main

inference(cfg, model, val_loader, num_query)


 "/home/gyc/Ranked_Person_ReID-master/engine/inference.py", line 70, in inference

evaluator.run(val_loader)


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 326, in run

self._handle_exception(e)


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 291, in _handle_exception

raise e


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 313, in run

hours, mins, secs = self._run_once_on_dataset()


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 280, in _run_once_on_dataset

self._handle_exception(e)


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 291, in _handle_exception

raise e


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/ignite/engine/engine.py", line 272, in _run_once_on_dataset

self.state.output = self._process_function(self, batch)


 "/home/gyc/Ranked_Person_ReID-master/engine/inference.py", line 38, in _inference

feat = model(data)


 "/home/gyc/anaconda3/envs/python361/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/home/gyc/Ranked_Person_ReID-master/modeling/baseline.py", line 192, in forward

x = self.stn(x)
#### stn
TypeError: 'str' object is not callable
