|
发表于 2021-11-19 14:26:32
|
显示全部楼层
我换了个可以gpu有使用的notebook,然后上传dfl的notebook,按照顺序重新弄了一遍,同样的操作流程,但是训练会报错 /kaggle/working/deepfacelab
Process Process-1:
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/opt/conda/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/kaggle/working/deepfacelab/core/leras/device.py", line 104, in _get_tf_devices_proc
tf_version = tensorflow.version.VERSION
AttributeError: module 'tensorflow' has no attribute 'version'
*** Error in `/opt/conda/bin/python': free(): invalid next size (normal): 0x0000555adb3fc2b0 ***
/opt/conda/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown
感觉就是这个导致的不能使用gpu? 在我自己创建的notebook里不会有这个报错,但gpu的使用率是0, 在gpu有使用的notebook里会报错 |
|