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, @zhenxuan00@taufikxu
Thanks for your codes! When I ran the code, it seems no path library in python. (in checkpoints.py) How can I solve it? Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
I also suffer this problem,and I install another module named pathlib2,and then ,it show another problem "File "x2y_yz2x_xy2p_ssl_mnist.py", line 504, in
save_weights(os.path.join(outfolder, 'model_epoch' + str(epoch) + '.npy'), params, None)
File "/dataset1000/grade2/ZY/triplegan/triple-gan-master/utils/checkpoints.py", line 23, in save_weights
filename, ext = osp.splitext(fname)
File "/usr/lib/python2.7/posixpath.py", line 98, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/usr/lib/python2.7/genericpath.py", line 99, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'PosixPath' object has no attribute 'rfind'
"
I think that I din't install the right module.Have you solved this problem?
Hi,
@zhenxuan00 @taufikxu
Thanks for your codes! When I ran the code, it seems no path library in python. (in checkpoints.py) How can I solve it? Thank you!
The text was updated successfully, but these errors were encountered: