Comments (4)
It works,thank you for your help!
from reloadium.
Hi @TalonX1 have you added path mappings? Without path mappings reloadium doesn't know how to resolve the paths so it is necessary.
from reloadium.
Are you referring to the remote mapping feature in PyCharm? I have added it, and debugging works fine, but the hot reloading during debugging does not seem to take effect. When I modify the code and save it, I encounter the error message shown in Image 2. It appears to be concatenating the server path and the local Windows path, and I'm not sure where the issue is originating from.
/data2/qhb/anaconda3/envs/mask3d_cuda113/bin/python3 -m reloadium_launcher pydev_proxy /home/qhb/.pycharm_helpers/pydev/pydevd.py --multiprocess --qt-support=auto --client localhost --port 45219 --file /data2/qhb/mask3d/Mask3D-main_20230621/det_debug_main_instance_segmentation.py general.experiment_name=benchmark_04 general.eval_on_segments=true general.train_on_segments=true data.train_mode=train_validation data.num_workers=0 data.batch_size=2
Connected to pydev debugger (build 231.9225.15)
■■■■■■■■■■■■■■■
Reloadium 1.2.1
■■■■■■■■■■■■■■■
If you like this project consider becoming a sponsor or giving a star at https://github.com/reloadware/reloadium
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/MinkowskiEngine-0.5.4-py3.10-linux-x86_64.egg/MinkowskiEngine/__init__.py:36: UserWarning: The environment variable `OMP_NUM_THREADS` not set. MinkowskiEngine will automatically set `OMP_NUM_THREADS=16`. If you want to set `OMP_NUM_THREADS` manually, please export it on the command line before running a python script. e.g. `export OMP_NUM_THREADS=12; python your_program.py`. It is recommended to set it below 24.
warnings.warn(
Loaded 44 watched modules so far from paths:
- /data2/qhb/mask3d/Mask3D-main_20230621/**/*.py
/data2/qhb/mask3d/Mask3D-main_20230621
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/utilities/seed.py:55: UserWarning: No seed found, seed set to 2100419569
rank_zero_warn(f"No seed found, seed set to {seed}")
Global seed set to 2100419569
{'_target_': 'pytorch_lightning.loggers.TensorBoardLogger', 'name': '${general.experiment_id}', 'version': '${general.version}', 'save_dir': '${general.save_dir}'}
{'_target_': 'pytorch_lightning.loggers.CSVLogger', 'name': '${general.experiment_id}', 'version': '${general.version}', 'save_dir': '${general.save_dir}'}
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/loggers/csv_logs.py:57: UserWarning: Experiment logs directory saved/benchmark_04/det_scannet_debug/version_1 exists and is not empty. Previous log files in this directory will be deleted when the new ones are saved!
rank_zero_warn(
[2023-09-24 18:46:29,873][__main__][INFO] - {'general_train_mode': True, 'general_task': 'instance_segmentation'}
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py:446: LightningDeprecationWarning: Setting `Trainer(gpus=[0])` is deprecated in v1.7 and will be removed in v2.0. Please use `Trainer(accelerator='gpu', devices=[0])` instead.
rank_zero_deprecation(
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/callback_connector.py:57: LightningDeprecationWarning: Setting `Trainer(weights_save_path=)` has been deprecated in v1.6 and will be removed in v1.8. Please pass ``dirpath`` directly to the `ModelCheckpoint` callback
rank_zero_deprecation(
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
/data2/qhb/mask3d/Mask3D-main_20230621/datasets/det_semseg.py:641: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
file = yaml.load(f)
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [2]
| Name | Type | Params
----------------------------------------------
0 | model | DetMask3D | 41.9 M
1 | criterion | SetCriterionDet | 0
----------------------------------------------
41.9 M Trainable params
0 Non-trainable params
41.9 M Total params
167.731 Total estimated model params size (MB)
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/data_connector.py:219: PossibleUserWarning: The dataloader, train_dataloader, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 64 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
rank_zero_warn(
/data2/qhb/anaconda3/envs/mask3d_cuda113/lib/python3.10/site-packages/pytorch_lightning/trainer/connectors/data_connector.py:219: PossibleUserWarning: The dataloader, val_dataloader 0, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 64 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
rank_zero_warn(
Epoch 0: 0%| | 0/1069 [00:00<?, ?it/s]File "/data2/qhb/mask3d/Mask3D-main_20230621/C:/Users/TimeAssassin/Desktop/20230510_mask3d/Mask3D-main/Mask3D-main/models/detmask3d.py" has been modified but is not loaded yet.
Hot reloading not needed.
from reloadium.
Could you add path mappings in the Run/Debug configuration showed here:
Source: #64 (comment)
from reloadium.
Related Issues (20)
- Reloadium debugger shows filtered log messages in django HOT 3
- Reloadium fails to start HOT 1
- Can't start debugger on Pycharm 2023.3 EAP HOT 7
- ModuleNotFoundError: No module named 'reloadium.corium' HOT 2
- Reloadimun not reloading modified pyhton files HOT 3
- Reloadium fails to start HOT 2
- VSCode plugin roadmap HOT 1
- Reloadium profiler not displayed HOT 1
- [Feature Request] Frame Transaction
- pydevd_process_net_command.py this file frequently wrong as UnicodeDecodeError
- python 3.11 annotations unsupported. HOT 11
- Docker-compose interpreter, /opt/conda/bin/python3: No module named reloadium_launcher HOT 1
- Error when exit() in interact shell HOT 1
- Issue with Reloadium in PyCharm+WSL HOT 3
- [Feature request] Request for Feature to Modify OpenAI's BaseURL
- Hot reloading of HTML files not working with reloadium (works fine with just webpack-dev-server and python manage.py runserver) HOT 2
- reloadium plugin in pycharm with twisted libary HOT 3
- __rw_pass__ HOT 1
- Need python 3.12 support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reloadium.