Open dvdplm opened 3 years ago
That dbns
is a module I wrote for the purpose of the work. In the beginning of the main_train.py
you see the line sys.path.append(os.getcwd() + r'\dbp')
? Means that I am pointing to the directory dbp
where the module dbns
(and the others imported thereafter) is saved. All these are written by me.
So no need to search it on pypi. Hope it helps
sys.path.append(os.getcwd() + r'\dbp')
uses \
, i.e. Windows backslashes. That doesn't work on non-Windows and is not the way to handle paths portably.
Is this code windows-only?
Developed on Windows. Of course you can change \
to /
and run it on non-Windows OS.
I am sorry I did not think about portability when writing it
Developed on Windows. Of course you can change
\
to/
and run it on non-Windows OS. I am sorry I did not think about portability when writing it
Don't be sorry, bugs happen!
I can change the slash and run it but that's not the real fix... it would be good to use the proper python way of appending folders to a path.
The
main_train.py
references adbns
package that is not available on pypi. Where do I find this package?