You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for this this great tool! We followed the basic installation instructions and would like to use one of the trained models, but we keep getting a strange concatenation error. It looks like device isn't a string, so in places where you have print('testfunction:device used:' + device) maybe print('testfunction:device used:' + str(device)) would work?
Our command and the output are pasted below.
truenet evaluate -i testing-truenet-dvs/sub-10866_testing -m mwsc -o testing-truenet-dvs/sub-10866_results
FLAIR image found for sub-10866
Traceback (most recent call last):
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/bin/truenet", line 4, in <module>
__import__('pkg_resources').run_script('truenet==1.0.1', 'truenet')
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 720, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/lib/python3.11/site-packages/pkg_resources/__init__.py", line 1570, in run_script
exec(script_code, namespace, namespace)
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/lib/python3.11/site-packages/truenet-1.0.1-py3.11.egg/EGG-INFO/scripts/truenet", line 159, in <module>
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/lib/python3.11/site-packages/truenet-1.0.1-py3.11.egg/truenet/true_net/truenet_commands.py", line 409, in evaluate
File "/ZPOOL/data/tools/anaconda/tug87422/anaconda3/lib/python3.11/site-packages/truenet-1.0.1-py3.11.egg/truenet/true_net/truenet_test_function.py", line 38, in main
TypeError: can only concatenate str (not "torch.device") to str
The text was updated successfully, but these errors were encountered:
Hi, thanks for this this great tool! We followed the basic installation instructions and would like to use one of the trained models, but we keep getting a strange concatenation error. It looks like
device
isn't a string, so in places where you haveprint('testfunction:device used:' + device)
maybeprint('testfunction:device used:' + str(device))
would work?Our command and the output are pasted below.
The text was updated successfully, but these errors were encountered: