optimize code structure
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
sys.path.append("/home/hofee/.local/lib/python3.11/site-packages")
|
||||
import yaml
|
||||
from blender.data_generator import DataGenerator
|
||||
|
||||
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
|
||||
from data_generator import DataGenerator
|
||||
|
||||
if __name__ == "__main__":
|
||||
config_path = sys.argv[sys.argv.index('--') + 1]
|
||||
|
Reference in New Issue
Block a user