FSRNET_pytorch icon indicating copy to clipboard operation
FSRNET_pytorch copied to clipboard

ImportError:No moudle named 'util'

Open yangyingni opened this issue 6 years ago • 8 comments

运行代码的时候一直出现这个问题,请问如何解决呢

yangyingni avatar Dec 17 '19 02:12 yangyingni

On which file do you have this error ? train.py or other file ?

JauB1981 avatar Apr 08 '20 21:04 JauB1981

请问一下你解决这个问题了么?

ghost avatar May 05 '20 03:05 ghost

请问一下你解决这个问题了么?

What's exactly your problem so I can help you ?

JauB1981 avatar May 05 '20 05:05 JauB1981

请问一下你解决这个问题了么?

What's exactly your problem so I can help you ?

just the title problem "ImportError:No moudle named 'util'“

ghost avatar May 05 '20 09:05 ghost

请问一下你解决这个问题了么?

What's exactly your problem so I can help you ?

the file "losses.py"

ghost avatar May 05 '20 09:05 ghost

请问一下你解决这个问题了么?

What's exactly your problem so I can help you ?

the file "losses.py"

There is no need to use losses.py !

JauB1981 avatar May 26 '20 12:05 JauB1981

@cydiachen  Please let me know how to resolve this. I'm having the same problem. python train.py Traceback (most recent call last): File "train.py", line 27, in from models import losses File "/home/teizouen/Documents/FSRNET_pytorch/models/losses.py", line 8, in import util.util as util ModuleNotFoundError: No module named 'util'

TeiZouen avatar Aug 24 '23 10:08 TeiZouen

@yangyingni 你解决了这个问题吗?如果解决了,请告诉解决办法,谢谢

TeiZouen avatar Aug 27 '23 01:08 TeiZouen